summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorT.J. Townsend <tj@cvs.openbsd.org>2016-09-17 15:04:16 +0000
committerT.J. Townsend <tj@cvs.openbsd.org>2016-09-17 15:04:16 +0000
commit0a8dc2ec631d5ad33bd35b327e05c500696265e3 (patch)
tree26374320d8faa519d8bfdde0d4196e930734f20f /etc
parenteaa65a3633d2a633d01727a1330610e222749756 (diff)
add example certificate and key files generated with acme-client.
ok florian
Diffstat (limited to 'etc')
-rw-r--r--etc/examples/httpd.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/examples/httpd.conf b/etc/examples/httpd.conf
index e4ba3767fd6..9762da590f0 100644
--- a/etc/examples/httpd.conf
+++ b/etc/examples/httpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: httpd.conf,v 1.14 2015/02/04 08:39:35 florian Exp $
+# $OpenBSD: httpd.conf,v 1.15 2016/09/17 15:04:15 tj Exp $
#
# Macros
@@ -49,6 +49,10 @@ server "www.example.com" {
server "secure.example.com" {
listen on 127.0.0.1 tls port 443
+ # TLS certificate and key files created with acme-client(1)
+ tls certificate /etc/ssl/acme/fullchain.pem
+ tls key /etc/ssl/acme/private/privkey.pem
+
# Define server-specific log files relative to /logs
log { access "secure-access.log", error "secure-error.log" }