mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-21 15:43:29 +08:00
This commit is contained in:
5
acme.sh
5
acme.sh
@@ -1599,6 +1599,7 @@ createCSR() {
|
|||||||
domain="$1"
|
domain="$1"
|
||||||
domainlist="$2"
|
domainlist="$2"
|
||||||
_isEcc="$3"
|
_isEcc="$3"
|
||||||
|
_csreku="$4"
|
||||||
|
|
||||||
_initpath "$domain" "$_isEcc"
|
_initpath "$domain" "$_isEcc"
|
||||||
|
|
||||||
@@ -1612,7 +1613,7 @@ createCSR() {
|
|||||||
_err "Please create it first."
|
_err "Please create it first."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_createcsr "$domain" "$domainlist" "$CERT_KEY_PATH" "$CSR_PATH" "$DOMAIN_SSL_CONF"
|
_createcsr "$domain" "$domainlist" "$CERT_KEY_PATH" "$CSR_PATH" "$DOMAIN_SSL_CONF" "" "$_csreku"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8259,7 +8260,7 @@ _process() {
|
|||||||
createDomainKey "$_domain" "$_keylength"
|
createDomainKey "$_domain" "$_keylength"
|
||||||
;;
|
;;
|
||||||
createCSR)
|
createCSR)
|
||||||
createCSR "$_domain" "$_altdomains" "$_ecc"
|
createCSR "$_domain" "$_altdomains" "$_ecc" "$_extended_key_usage"
|
||||||
;;
|
;;
|
||||||
setnotify)
|
setnotify)
|
||||||
setnotify "$_notify_hook" "$_notify_level" "$_notify_mode" "$_notify_source"
|
setnotify "$_notify_hook" "$_notify_level" "$_notify_mode" "$_notify_source"
|
||||||
|
|||||||
Reference in New Issue
Block a user