mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-14 02:11:45 +00:00
Keep backwards compatible.
This commit is contained in:
parent
96db9362c5
commit
0a3b6c4813
3
acme.sh
3
acme.sh
@ -637,8 +637,9 @@ _createcsr() {
|
|||||||
_info "Multi domain" "$alt"
|
_info "Multi domain" "$alt"
|
||||||
printf -- "\nsubjectAltName=$alt" >>"$csrconf"
|
printf -- "\nsubjectAltName=$alt" >>"$csrconf"
|
||||||
fi
|
fi
|
||||||
if [ "$Le_OCSP_Staple" ]; then
|
if [ "$Le_OCSP_Staple" ] || [ "$Le_OCSP_Stable" ]; then
|
||||||
_savedomainconf Le_OCSP_Staple "$Le_OCSP_Staple"
|
_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"
|
printf -- "\nbasicConstraints = CA:FALSE\n1.3.6.1.5.5.7.1.24=DER:30:03:02:01:05" >>"$csrconf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user