apacheconfig: ne pas chercher à utiliser site-certs.conf s'il n'y a pas les variables @@{cert,key,ca}@@
This commit is contained in:
		
							parent
							
								
									b9dc5ca71e
								
							
						
					
					
						commit
						3ccd4edc7d
					
				| @ -435,10 +435,12 @@ function apache_autoconf() { | ||||
| 
 | ||||
|             certsconf= | ||||
|             if [ "${confname%.ssl.conf}" != "$confname" ]; then | ||||
|                 if [ -d "$certsconfdir" ]; then | ||||
|                     certsconf="${confname%.ssl.conf}-certs.conf" | ||||
|                 else | ||||
|                     ewarn "$conf: fichier ignoré parce que --certsconfdir n'a pas été spécifié" | ||||
|                 if quietgrep -E '^[^#]*@@(cert|key|ca)@@' "$conf"; then | ||||
|                     if [ -d "$certsconfdir" ]; then | ||||
|                         certsconf="${confname%.ssl.conf}-certs.conf" | ||||
|                     else | ||||
|                         ewarn "$conf: fichier ignoré parce que --certsconfdir n'a pas été spécifié" | ||||
|                     fi | ||||
|                 fi | ||||
|             fi | ||||
|             case "$confname" in | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user