mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
fix for solaris
This commit is contained in:
parent
54f2640ef2
commit
8ae08b29e4
@ -85,8 +85,8 @@ https://github.com/acmesh-official/acmetest
|
|||||||
|
|
||||||
# Supported CA
|
# Supported CA
|
||||||
|
|
||||||
- Letsencrypt.org CA(default)
|
- [ZeroSSL.com CA](https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA)(default)
|
||||||
- [ZeroSSL.com CA](https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA)
|
- Letsencrypt.org CA
|
||||||
- [BuyPass.com CA](https://github.com/acmesh-official/acme.sh/wiki/BuyPass.com-CA)
|
- [BuyPass.com CA](https://github.com/acmesh-official/acme.sh/wiki/BuyPass.com-CA)
|
||||||
- [Pebble strict Mode](https://github.com/letsencrypt/pebble)
|
- [Pebble strict Mode](https://github.com/letsencrypt/pebble)
|
||||||
- Any other [RFC8555](https://tools.ietf.org/html/rfc8555)-compliant CA
|
- Any other [RFC8555](https://tools.ietf.org/html/rfc8555)-compliant CA
|
||||||
|
4
acme.sh
4
acme.sh
@ -3538,14 +3538,14 @@ _regAccount() {
|
|||||||
_err "Can not get EAB credentials from ZeroSSL."
|
_err "Can not get EAB credentials from ZeroSSL."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_debug2 "$_eabresp"
|
_secure_debug2 _eabresp "$_eabresp"
|
||||||
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
|
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
|
||||||
_secure_debug2 _eab_id "$_eab_id"
|
_secure_debug2 _eab_id "$_eab_id"
|
||||||
if [ -z "$_eab_id" ]; then
|
if [ -z "$_eab_id" ]; then
|
||||||
_err "Can not resolve _eab_id"
|
_err "Can not resolve _eab_id"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_eab_hmac_key="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_hmac_key"' | cut -d : -f 2 | tr -d '"')"
|
_eab_hmac_key="$(echo "$_eabresp" | tr ',}' '\n\n' | grep '"eab_hmac_key"' | cut -d : -f 2 | tr -d '"')"
|
||||||
_secure_debug2 _eab_hmac_key "$_eab_hmac_key"
|
_secure_debug2 _eab_hmac_key "$_eab_hmac_key"
|
||||||
if [ -z "$_eab_hmac_key" ]; then
|
if [ -z "$_eab_hmac_key" ]; then
|
||||||
_err "Can not resolve _eab_hmac_key"
|
_err "Can not resolve _eab_hmac_key"
|
||||||
|
Loading…
Reference in New Issue
Block a user