Compare commits

..

No commits in common. "5eaede5ca897a9b637f657f329096b9b123242ea" and "26f542354d40b5bedc5f084ef4dd9e215e300acc" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ TLS_CHAIN=/acme/cert/chain.pem
[ ! -f "$TLS_CHAIN" ] && exit 1
############ CHECK CERT KEY ALGO
ALGO=$(openssl x509 -in "$TLS_CERT" -text | sed -n 's/\ *Public Key Algorithm: //p' | tr '\n')
ALGO=$(openssl x509 -in "$TLS_CERT"-text | sed -n 's/\ *Public Key Algorithm: //p' | tr '\n')
############ UPDATE cert config if needed
if [ "$ALGO" = "id-ecPublicKey" ] ; then

View File

@ -11,7 +11,7 @@ TLS_CHAIN=/acme/cert/chain.pem
[ ! -f "$TLS_CHAIN" ] && exit 1
############ CHECK CERT KEY ALGO
ALGO=$(openssl x509 -in "$TLS_CERT" -text | sed -n 's/\ *Public Key Algorithm: //p' | tr '\n')
ALGO=$(openssl x509 -in "$TLS_CERT"-text | sed -n 's/\ *Public Key Algorithm: //p' | tr '\n')
############ UPDATE cert config if needed
if [ "$ALGO" = "id-ecPublicKey" ] ; then