diff --git a/rootfs/app/acme-refresh-cert.sh b/rootfs/app/acme-refresh-cert.sh index 8297404..411339f 100755 --- a/rootfs/app/acme-refresh-cert.sh +++ b/rootfs/app/acme-refresh-cert.sh @@ -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 diff --git a/rootfs/app/refresh-cert.sh b/rootfs/app/refresh-cert.sh index 8297404..411339f 100755 --- a/rootfs/app/refresh-cert.sh +++ b/rootfs/app/refresh-cert.sh @@ -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