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.
							parent
							
								
									c24e86a697
								
							
						
					
					
						commit
						34d91b9f97
					
				
							
								
								
									
										5
									
								
								le.sh
								
								
								
								
							
							
						
						
									
										5
									
								
								le.sh
								
								
								
								
							| 
						 | 
				
			
			@ -862,8 +862,13 @@ installcert() {
 | 
			
		|||
    if [ -f "$Le_RealCACertPath" ] ; then
 | 
			
		||||
      cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak
 | 
			
		||||
    fi
 | 
			
		||||
    if [ "$Le_RealCACertPath" == "$Le_RealCertPath" ] ; then
 | 
			
		||||
      echo "" >> "$Le_RealCACertPath"
 | 
			
		||||
      cat "$CA_CERT_PATH" >> "$Le_RealCACertPath"
 | 
			
		||||
    else
 | 
			
		||||
      cat "$CA_CERT_PATH" > "$Le_RealCACertPath"
 | 
			
		||||
    fi
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  if [ "$Le_RealKeyPath" ] ; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue