summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-01-08 18:36:17 +0000
committerflorian <florian@openbsd.org>2019-01-08 18:36:17 +0000
commitfd1ff96869964e1ade1897402bf7e5d224fa7249 (patch)
treeb333872d9d66842787fe5467744f1158f2f9ac68
parentAllow httpd(8) to start when TLS is configured but a cert is not yet (diff)
downloadwireguard-openbsd-fd1ff96869964e1ade1897402bf7e5d224fa7249.tar.xz
wireguard-openbsd-fd1ff96869964e1ade1897402bf7e5d224fa7249.zip
With the change to httpd the workflow got much simpler.
-rw-r--r--usr.sbin/acme-client/acme-client.122
1 files changed, 13 insertions, 9 deletions
diff --git a/usr.sbin/acme-client/acme-client.1 b/usr.sbin/acme-client/acme-client.1
index 275e8d269e1..08c3a9e6933 100644
--- a/usr.sbin/acme-client/acme-client.1
+++ b/usr.sbin/acme-client/acme-client.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acme-client.1,v 1.26 2018/08/02 14:39:26 benno Exp $
+.\" $OpenBSD: acme-client.1,v 1.27 2019/01/08 18:36:17 florian Exp $
.\"
.\" Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 2 2018 $
+.Dd $Mdocdate: January 8 2019 $
.Dt ACME-CLIENT 1
.Os
.Sh NAME
@@ -98,15 +98,19 @@ Default challengedir.
returns 1 on failure, 2 if the certificates didn't change (up to date),
or 0 if certificates were changed (revoked or updated).
.Sh EXAMPLES
-To initialize a new account and Domain key:
-.Pp
-.Dl # acme-client -vAD example.com
+Example configuration files for
+.Nm
+and
+.Xr httpd 8
+are provided in
+.Pa /etc/examples/acme-client.conf
+and
+.Pa /etc/examples/httpd.conf .
.Pp
-To create and submit a new key for a single domain, assuming that the
-web server has already been configured to map the challenge directory
-as above:
+To enable TLS in
+.Xr httpd 8 :
.Pp
-.Dl # acme-client -vD example.com
+.Dl # acme-client -vAD example.com && rcctl reload httpd
.Pp
A daily
.Xr cron 8