mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-23 05:31:42 +00:00
minor, fix format
This commit is contained in:
parent
3aae1ae3d9
commit
cbcd7e0f86
12
acme.sh
12
acme.sh
@ -405,13 +405,13 @@ _createkey() {
|
|||||||
length=2048
|
length=2048
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_info "Use length $length"
|
_debug "Use length $length"
|
||||||
|
|
||||||
if _isEccKey "$length" ; then
|
if _isEccKey "$length" ; then
|
||||||
_info "Using ec name: $eccname"
|
_debug "Using ec name: $eccname"
|
||||||
openssl ecparam -name $eccname -genkey 2>/dev/null > "$f"
|
openssl ecparam -name $eccname -genkey 2>/dev/null > "$f"
|
||||||
else
|
else
|
||||||
_info "Using RSA: $length"
|
_debug "Using RSA: $length"
|
||||||
openssl genrsa $length 2>/dev/null > "$f"
|
openssl genrsa $length 2>/dev/null > "$f"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -532,7 +532,7 @@ createAccountKey() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$length" ] || [ "$length" = "no" ] ; then
|
if [ -z "$length" ] || [ "$length" = "no" ] ; then
|
||||||
_info "Use default length 2048"
|
_debug "Use default length 2048"
|
||||||
length=2048
|
length=2048
|
||||||
fi
|
fi
|
||||||
_debug length "$length"
|
_debug length "$length"
|
||||||
@ -1766,8 +1766,8 @@ issue() {
|
|||||||
_info "Found domain api file: $d_api"
|
_info "Found domain api file: $d_api"
|
||||||
else
|
else
|
||||||
_err "Add the following TXT record:"
|
_err "Add the following TXT record:"
|
||||||
_err "Domain: $txtdomain"
|
_err "Domain: '$(__green $txtdomain)'"
|
||||||
_err "TXT value: $txt"
|
_err "TXT value: '$(__green $txt)'"
|
||||||
_err "Please be aware that you prepend _acme-challenge. before your domain"
|
_err "Please be aware that you prepend _acme-challenge. before your domain"
|
||||||
_err "so the resulting subdomain will be: $txtdomain"
|
_err "so the resulting subdomain will be: $txtdomain"
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user