mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-14 20:14:12 +00:00
fix openssl binary path
This commit is contained in:
parent
84eb9bb553
commit
efedc607b2
@ -58,8 +58,8 @@ ses_send() {
|
||||
_saveaccountconf_mutable AWS_SES_FROM "$AWS_SES_FROM"
|
||||
|
||||
_date="$(date -R)"
|
||||
_signature="$(echo -n "$_date" | _openssl_bin dgst -sha256 -hmac "$AWS_SECRET_KEY" -binary | _base64 -w 0)"
|
||||
_endpoint="https://email.$AWS_REGION.amazonaws.com/"
|
||||
_signature="$(echo -n "$_date" | ${ACME_OPENSSL_BIN:-openssl} dgst -sha256 -hmac "$AWS_SECRET_KEY" -binary | base64 -w 0)"
|
||||
_endpoint="https://email.$AWS_REGION.amazonaws.com"
|
||||
|
||||
export _H1="X-Amzn-Authorization: AWS3-HTTPS AWSAccessKeyId=$AWS_ACCESS_KEY, Algorithm=HmacSHA256, Signature=$_signature"
|
||||
export _H2="Content-Type: application/x-www-form-urlencoded"
|
||||
|
Loading…
x
Reference in New Issue
Block a user