aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2016-12-21 02:09:06 +0100
committerThomas Lange <code@nerdmind.de>2016-12-21 02:09:06 +0100
commit0fc1e00aba4e33edc6951eb376a1d591ce9a7dad (patch)
treea02927202ac3ade26207830291804bd76321bc2c
parentea7522622440da7b342a00b1bf65af5c4d1c70f1 (diff)
downloadpainlessle-0fc1e00aba4e33edc6951eb376a1d591ce9a7dad.tar.gz
painlessle-0fc1e00aba4e33edc6951eb376a1d591ce9a7dad.tar.xz
painlessle-0fc1e00aba4e33edc6951eb376a1d591ce9a7dad.zip
Added an forgotten modifier to the sed pattern.
-rwxr-xr-xpainless-le.sh2
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 "/"
#===============================================================================