Changes

Jump to navigation Jump to search
102 bytes removed ,  15:24, 15 January 2016
m
→‎Installation of Letsencrypt.sh: fixed $CHAIN in hook script
Line 135: Line 135:  
   KEY = $3
 
   KEY = $3
 
   CERT = $4
 
   CERT = $4
   CHAIN = $5
+
   CHAIN = ${5/fullchain.pem/chain.pem}
 
   /sbin/e-smith/db configuration setprop modSSL key $KEY
 
   /sbin/e-smith/db configuration setprop modSSL key $KEY
 
   /sbin/e-smith/db configuration setprop modSSL crt $CERT
 
   /sbin/e-smith/db configuration setprop modSSL crt $CERT
# the next line isn't ideal, because letsencrypt.sh passes the path to fullchain.pem and not chain.pem, but it will still work
   
   /sbin/e-smith/db configuration setprop modSSL CertificateChainFile $CHAIN
 
   /sbin/e-smith/db configuration setprop modSSL CertificateChainFile $CHAIN
 
   /sbin/e-smith/signal-event domain-modify
 
   /sbin/e-smith/signal-event domain-modify
147

edits

Navigation menu