From 68a19047c6d914d54f70acbbc0b51048941950c0 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 20 Jan 2016 14:57:56 +0100 Subject: adding SAN-file with all domains from SAN-certs --- lets-ca.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lets-ca.sh b/lets-ca.sh index 30ba356..60c89d0 100755 --- a/lets-ca.sh +++ b/lets-ca.sh @@ -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+="," -- cgit v1.2.3