mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	fix bug: Le_RealCertPath was missing from installcert command
This commit is contained in:
		
							parent
							
								
									a84d3b995f
								
							
						
					
					
						commit
						ab5ec2a2d2
					
				
							
								
								
									
										7
									
								
								le.sh
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								le.sh
									
									
									
									
									
								
							| @ -851,6 +851,13 @@ installcert() { | |||||||
|   _setopt "$DOMAIN_CONF"  "Le_RealKeyPath"        "="  "\"$Le_RealKeyPath\"" |   _setopt "$DOMAIN_CONF"  "Le_RealKeyPath"        "="  "\"$Le_RealKeyPath\"" | ||||||
|   _setopt "$DOMAIN_CONF"  "Le_ReloadCmd"          "="  "\"$Le_ReloadCmd\"" |   _setopt "$DOMAIN_CONF"  "Le_ReloadCmd"          "="  "\"$Le_ReloadCmd\"" | ||||||
|    |    | ||||||
|  |   if [ "$Le_RealCertPath" ] ; then | ||||||
|  |     if [ -f "$Le_RealCertPath" ] ; then | ||||||
|  |       cp -p "$Le_RealCertPath" "$Le_RealCertPath".bak | ||||||
|  |     fi | ||||||
|  |     cat "$CERT_PATH" > "$Le_RealCertPath" | ||||||
|  |   fi | ||||||
|  |    | ||||||
|   if [ "$Le_RealCACertPath" ] ; then |   if [ "$Le_RealCACertPath" ] ; then | ||||||
|     if [ -f "$Le_RealCACertPath" ] ; then |     if [ -f "$Le_RealCACertPath" ] ; then | ||||||
|       cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak |       cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user