diff --git a/src/etc/Makefile b/src/etc/Makefile index f3c1dfbb..bbaa38f4 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.432 2016/09/11 19:44:32 natano Exp $ +# $OpenBSD: Makefile,v 1.433 2016/09/18 20:18:25 benno Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -30,16 +30,15 @@ kernels: bootblocks ${ALL_KERNELS} # -rw-r--r-- BINOWN= root BINGRP= wheel -MUTABLE=changelist daily etc.${MACHINE}/disktab etc.${MACHINE}/login.conf \ - ftpusers gettytab group ksh.kshrc locate.rc mailer.conf \ - moduli monthly netstart networks newsyslog.conf ntpd.conf \ +MUTABLE=acme-client.conf changelist daily etc.${MACHINE}/disktab \ + etc.${MACHINE}/login.conf ftpusers gettytab group ksh.kshrc locate.rc \ + mailer.conf moduli monthly netstart networks newsyslog.conf ntpd.conf \ pf.os protocols rc rc.conf rpc services shells syslog.conf weekly # -rw-r--r-- -EXAMPLES=chio.conf dhclient.conf dhcpd.conf exports \ - httpd.conf ifstated.conf inetd.conf \ - man.conf mixerctl.conf mrouted.conf \ - ntpd.conf pkg.conf printcap rbootd.conf \ +EXAMPLES=acme-client.conf chio.conf dhclient.conf dhcpd.conf exports \ + httpd.conf ifstated.conf inetd.conf man.conf mixerctl.conf \ + mrouted.conf ntpd.conf pkg.conf printcap rbootd.conf \ remote sensorsd.conf wsconsctl.conf # -rw------- diff --git a/src/etc/acme-client.conf b/src/etc/acme-client.conf new file mode 100644 index 00000000..2a4baa2a --- /dev/null +++ b/src/etc/acme-client.conf @@ -0,0 +1,21 @@ +# +# $OpenBSD: acme-client.conf,v 1.1 2016/09/18 20:18:25 benno Exp $ +# +authority letsencrypt { + agreement url https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf + api url "https://acme-v01.api.letsencrypt.org/directory" + account key /etc/ssl/private/my-acme.key +} + +authority letsencrypt-staging { + agreement url https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf + api url https://acme-staging.api.letsencrypt.org/directory + account key /etc/ssl/private/my-acme-stage.key +} + +domain example.com { + alternative names { secure.example.com } + domain key /etc/ssl/private/example.com.key + domain certificate /etc/ssl/example.com.crt + sign with letsencrypt +}