From 32dbd35ec0e3e96a1a6ef569a641dc3c9e6a91f7 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 4 Dec 2015 04:20:17 +0100 Subject: typo --- roles/common/files/usr/local/bin/genkeypair.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/common') diff --git a/roles/common/files/usr/local/bin/genkeypair.sh b/roles/common/files/usr/local/bin/genkeypair.sh index fac8ff2..53cc050 100755 --- a/roles/common/files/usr/local/bin/genkeypair.sh +++ b/roles/common/files/usr/local/bin/genkeypair.sh @@ -115,7 +115,7 @@ while [ $# -gt 0 ]; do --privkey=?*) privkey="${1#--privkey=}";; --usage=?*) usage="${usage:+$usage,}${1#--usage=}";; - --config=?*) dns="${1#--config=}";; + --config=?*) config="${1#--config=}";; --mode=?*) mode="${1#--mode=}";; --owner=?*) owner="${1#--owner=}";; @@ -168,7 +168,7 @@ if [ -z "$config" -a \( "$cmd" = x509 -o "$cmd" = csr \) ]; then organizationName = Fripost organizationalUnitName = SSLcerts $(echo "$ou") - commonName = $cn + commonName = ${cn:-/} [ v3_req ] subjectAltName = email:admin@fripost.org${dns:+, $dns} -- cgit v1.2.3