summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-31 13:28:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-31 13:28:03 +0000
commit4599ce25c2b2c491c3b4fa14ca7a082b292b1df1 (patch)
tree9250b0e32669a27f79a4e16c53831494544ab9ed
parentdbda79954b53b5360a650284e4e1bdb1e0f4c6c7 (diff)
downloadalpine-conf-4599ce25c2b2c491c3b4fa14ca7a082b292b1df1.zip
setup-acf: use FQDN for selfsigned cert
and make it possible to override the email address
-rw-r--r--setup-acf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-acf.in b/setup-acf.in
index 92d769c..0b45be5 100644
--- a/setup-acf.in
+++ b/setup-acf.in
@@ -73,8 +73,8 @@ prompt = no
[ req_dn ]
OU=HTTPS server
-CN=$(hostname)
-emailAddress=postmaster@example.com
+CN=$(hostname -f)
+emailAddress=${EMAIL:-postmaster@example.com}
[ cert_type ]
nsCertType = server