diff options
author | Dennis Eriksen <dennis@eriksen.im> | 2016-01-20 14:57:56 +0100 |
---|---|---|
committer | Dennis Eriksen <dennis@eriksen.im> | 2016-01-20 14:57:56 +0100 |
commit | 68a19047c6d914d54f70acbbc0b51048941950c0 (patch) | |
tree | 49999523144ee7de9e00ae4121ee6256dc59e105 | |
parent | some privileges, perhaps (diff) | |
download | lets-ca.sh-68a19047c6d914d54f70acbbc0b51048941950c0.tar.gz |
adding SAN-file with all domains from SAN-certs
-rwxr-xr-x | lets-ca.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -269,7 +269,8 @@ req() { for SAN in "${domain[@]}"; do - echo "$SAN" + # Echo both to stdout and to SAN-file in cert-dir. + echo "$SAN" | tee -a "$CERTDIR/${domain[0]}/SAN" if [[ ! "$SAN" == "${domain[0]}" ]]; then ((i+=1)) && [[ $i > 1 ]] && SANtext+="," |