typo
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2024-01-25 08:26:43 +01:00
parent 83d15f9436
commit 5eaede5ca8
Signed by: paspo
GPG Key ID: 06D46905D19D5182
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 [ ! -f "$TLS_CHAIN" ] && exit 1
############ CHECK CERT KEY ALGO ############ 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 ############ UPDATE cert config if needed
if [ "$ALGO" = "id-ecPublicKey" ] ; then if [ "$ALGO" = "id-ecPublicKey" ] ; then

View File

@ -11,7 +11,7 @@ TLS_CHAIN=/acme/cert/chain.pem
[ ! -f "$TLS_CHAIN" ] && exit 1 [ ! -f "$TLS_CHAIN" ] && exit 1
############ CHECK CERT KEY ALGO ############ 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 ############ UPDATE cert config if needed
if [ "$ALGO" = "id-ecPublicKey" ] ; then if [ "$ALGO" = "id-ecPublicKey" ] ; then