master
Brie Bruns 2016-03-08 12:12:27 -07:00
parent 3abd8bcb72
commit 557f4a0ede
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if `md5sum -c /etc/letsencrypt/live/${DOMAIN}/cert.pem.md5 &>/dev/null`; then
else else
TEMPFILE=$(mktemp) TEMPFILE=$(mktemp)
echo "Cert has changed, updating controller..." echo "Cert has changed, updating controller..."
md5sum /etc/letsencrypt/live/${domains[0]}/cert.pem > /etc/letsencrypt/live/${domains[0}/cert.pem.md5 md5sum /etc/letsencrypt/live/${domains[0]}/cert.pem > /etc/letsencrypt/live/${domains[0]}/cert.pem.md5
echo "Using openssl to prepare certificate..." echo "Using openssl to prepare certificate..."
openssl pkcs12 -export -passout pass:aircontrolenterprise \ openssl pkcs12 -export -passout pass:aircontrolenterprise \
-in /etc/letsencrypt/live/${domains[0]}/cert.pem \ -in /etc/letsencrypt/live/${domains[0]}/cert.pem \