diff options
Diffstat (limited to 'main/alpine-conf/0001-setup-acf-use-FQDN-for-selfsigned-cert.patch')
-rw-r--r-- | main/alpine-conf/0001-setup-acf-use-FQDN-for-selfsigned-cert.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-acf-use-FQDN-for-selfsigned-cert.patch b/main/alpine-conf/0001-setup-acf-use-FQDN-for-selfsigned-cert.patch new file mode 100644 index 000000000..75ada6d4d --- /dev/null +++ b/main/alpine-conf/0001-setup-acf-use-FQDN-for-selfsigned-cert.patch @@ -0,0 +1,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 + |