aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xlets-ca.sh3
1 files changed, 2 insertions, 1 deletions
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+=","