diff options
-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+="," |