changed variable name: CAChain now CAChainPath
This commit is contained in:
		
							parent
							
								
									2c4a74bc60
								
							
						
					
					
						commit
						c5bb00e663
					
				
							
								
								
									
										4
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.sh
									
									
									
									
									
								
							| @ -22,7 +22,7 @@ unset useCertbot | ||||
| unset CertbotDomain | ||||
| unset CertPath | ||||
| unset KeyPath | ||||
| unset CAChain | ||||
| unset CAChainPath | ||||
| unset DHPath | ||||
| 
 | ||||
| detectedIP=$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p') | ||||
| @ -118,7 +118,7 @@ fi | ||||
| if [ "${useCertbot}" -eq 1 ]; then | ||||
|     CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem" | ||||
|     KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem" | ||||
|     CAChain="/etc/letsencrypt/live/${CertbotDomain}/chain.pem" | ||||
|     CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem" | ||||
| fi | ||||
| 
 | ||||
| # only process manual certificate paths if NOT using Certbot | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user