Keep backwards compatible.

This commit is contained in:
Armando Lüscher 2016-12-18 05:29:27 +01:00
parent 96db9362c5
commit 0a3b6c4813
No known key found for this signature in database
GPG Key ID: 3D71085D14920359
1 changed files with 2 additions and 1 deletions

View File

@ -637,8 +637,9 @@ _createcsr() {
_info "Multi domain" "$alt"
printf -- "\nsubjectAltName=$alt" >>"$csrconf"
fi
if [ "$Le_OCSP_Staple" ]; then
if [ "$Le_OCSP_Staple" ] || [ "$Le_OCSP_Stable" ]; then
_savedomainconf Le_OCSP_Staple "$Le_OCSP_Staple"
_cleardomainconf Le_OCSP_Stable
printf -- "\nbasicConstraints = CA:FALSE\n1.3.6.1.5.5.7.1.24=DER:30:03:02:01:05" >>"$csrconf"
fi