From 0fc1e00aba4e33edc6951eb376a1d591ce9a7dad Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 21 Dec 2016 02:09:06 +0100 Subject: Added an forgotten modifier to the sed pattern. --- painless-le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/painless-le.sh b/painless-le.sh index 7ed121f..8677e6f 100755 --- a/painless-le.sh +++ b/painless-le.sh @@ -42,7 +42,7 @@ CERTIFICATE_FULL="${ARGUMENT_DIRECTORY%/}/certificate_full.pem" #=============================================================================== # Generate Certificate-Signing-Request (CSR) #=============================================================================== -openssl req -config <(cat "${OPENSSLCONF}" <(printf "[SAN]\nsubjectAltName=DNS:`echo ${ARGUMENT_HOSTNAMES} | sed "s/:/,DNS:/"`")) \ +openssl req -config <(cat "${OPENSSLCONF}" <(printf "[SAN]\nsubjectAltName=DNS:`echo ${ARGUMENT_HOSTNAMES} | sed "s/:/,DNS:/g"`")) \ -new -sha256 -key "${CONFIDENTIAL}" -out "${REQUESTFILE}" -outform der -reqexts SAN -subj "/" #=============================================================================== -- cgit v1.2.3