1
0

Output certificate trust chain for OCSP stapling

Close #108 #129
This commit is contained in:
Yves Blusseau 2016-12-30 09:11:06 -08:00
parent 5de7ab52cb
commit 8d3b18894d

@ -31,6 +31,10 @@ create_links() {
create_link "/etc/nginx/certs/$domain".dhparam.pem ./dhparam.pem
return_code=$(( $return_code & $? ))
fi
if [[ -f "/etc/nginx/certs/$base_domain"/chain.pem ]]; then
create_link "/etc/nginx/certs/$domain".chain.pem "./$base_domain"/chain.pem
return_code=$(( $return_code & $? ))
fi
return $return_code
}
@ -98,7 +102,7 @@ update_certs() {
echo "Creating/renewal $base_domain certificates... (${hosts_array_expanded[*]})"
/usr/bin/simp_le \
-f account_key.json -f key.pem -f fullchain.pem -f cert.pem \
-f account_key.json -f key.pem -f chain.pem -f fullchain.pem -f cert.pem \
--tos_sha256 6373439b9f29d67a5cd4d18cbc7f264809342dbf21cb2ba2fc7588df987a6221 \
$params_d_str \
--email "${!email_varname}" \