diff options
author | Thomas Lange <code@nerdmind.de> | 2016-12-21 02:09:06 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2016-12-21 02:09:06 +0100 |
commit | 0fc1e00aba4e33edc6951eb376a1d591ce9a7dad (patch) | |
tree | a02927202ac3ade26207830291804bd76321bc2c | |
parent | ea7522622440da7b342a00b1bf65af5c4d1c70f1 (diff) | |
download | painlessle-0fc1e00aba4e33edc6951eb376a1d591ce9a7dad.tar.gz painlessle-0fc1e00aba4e33edc6951eb376a1d591ce9a7dad.tar.xz painlessle-0fc1e00aba4e33edc6951eb376a1d591ce9a7dad.zip |
Added an forgotten modifier to the sed pattern.
-rwxr-xr-x | painless-le.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 "/" #=============================================================================== |