Browse Source

add example certificate and key files generated with acme-client.

ok florian
OPENBSD_6_1
tj 8 years ago
parent
commit
487822ca09
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/examples/httpd.conf

+ 5
- 1
src/etc/examples/httpd.conf View File

@ -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" }


Loading…
Cancel
Save