blob: 75ada6d4d8af474c902a7707165411de4149d748 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 4599ce25c2b2c491c3b4fa14ca7a082b292b1df1 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 31 Aug 2009 13:28:03 +0000
Subject: [PATCH] setup-acf: use FQDN for selfsigned cert
and make it possible to override the email address
---
setup-acf.in | 4 ++--
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
--
1.6.4
|