fix alpn oid.

https://github.com/Neilpang/acme.sh/issues/2005
This commit is contained in:
neilpang 2019-01-04 22:40:59 +08:00
parent c544759d36
commit ad613e2437

View File

@ -1089,7 +1089,7 @@ _createcsr() {
fi
if [ "$acmeValidationv1" ]; then
printf "\n1.3.6.1.5.5.7.1.30.1=critical,DER:04:20:${acmeValidationv1}" >>"${csrconf}"
printf "\n1.3.6.1.5.5.7.1.31=critical,DER:04:20:${acmeValidationv1}" >>"${csrconf}"
fi
_csr_cn="$(_idn "$domain")"