diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-12-04 04:20:17 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-12-04 04:20:17 +0100 |
commit | 32dbd35ec0e3e96a1a6ef569a641dc3c9e6a91f7 (patch) | |
tree | 784d93df10bc2f34427d5a7c498e38df241d849d /roles | |
parent | 6075137755515910b344c1e23a020d0d62227aea (diff) |
typo
Diffstat (limited to 'roles')
-rwxr-xr-x | roles/common/files/usr/local/bin/genkeypair.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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} |