mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	support fullchain. If the real cert path equals to the ca cert path, we will append the ca cert to the domain cert, which makes it a fullchain.
This commit is contained in:
		
							parent
							
								
									c24e86a697
								
							
						
					
					
						commit
						34d91b9f97
					
				
							
								
								
									
										7
									
								
								le.sh
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								le.sh
									
									
									
									
									
								
							| @ -862,7 +862,12 @@ installcert() { | |||||||
|     if [ -f "$Le_RealCACertPath" ] ; then |     if [ -f "$Le_RealCACertPath" ] ; then | ||||||
|       cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak |       cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak | ||||||
|     fi |     fi | ||||||
|     cat "$CA_CERT_PATH" > "$Le_RealCACertPath" |     if [ "$Le_RealCACertPath" == "$Le_RealCertPath" ] ; then | ||||||
|  |       echo "" >> "$Le_RealCACertPath" | ||||||
|  |       cat "$CA_CERT_PATH" >> "$Le_RealCACertPath" | ||||||
|  |     else | ||||||
|  |       cat "$CA_CERT_PATH" > "$Le_RealCACertPath" | ||||||
|  |     fi | ||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user