summaryrefslogtreecommitdiff
path: root/usr.sbin/acme-client/acme-client.1
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2016-09-01 12:17:01 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2016-09-01 12:17:01 +0000
commit8727083c5ad236752eddd5b07d96fe610ddf7a9f (patch)
treef1afab8bc899eb4f33046696924d6a316b9ab7be /usr.sbin/acme-client/acme-client.1
parent8013df6742e328f1b6bfb02d9c311b565d715104 (diff)
Implement table driven selection to which ACME authorities we can
talk. Suggest by and OK deraadt, OK benno. (Later on deraadt and benno discussed if this should be handled with a config file. This seems to be good enough for now. We can do a config file later.)
Diffstat (limited to 'usr.sbin/acme-client/acme-client.1')
-rw-r--r--usr.sbin/acme-client/acme-client.120
1 files changed, 16 insertions, 4 deletions
diff --git a/usr.sbin/acme-client/acme-client.1 b/usr.sbin/acme-client/acme-client.1
index d1d17ff361d..228ef7ad696 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.5 2016/09/01 10:15:28 jmc Exp $
+.\" $OpenBSD: acme-client.1,v 1.6 2016/09/01 12:17:00 florian Exp $
.\"
.\" Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -22,12 +22,13 @@
.Nd ACME client
.Sh SYNOPSIS
.Nm acme-client
-.Op Fl bFmNnrsv
+.Op Fl bFmNnrv
.Op Fl a Ar agreement
.Op Fl C Ar challengedir
.Op Fl c Ar certdir
.Op Fl f Ar accountkey
.Op Fl k Ar domainkey
+.Op Fl s Ar authority
.Ar domain
.Op Ar altnames
.Sh DESCRIPTION
@@ -122,8 +123,19 @@ Create a new 4096-bit RSA domain key if one does not already exist.
Create a new 4096-bit RSA account key if one does not already exist.
.It Fl r
Revoke the X509 certificate found in the certificates.
-.It Fl s
-Use a staging server instead of the real thing.
+.It Fl s Ar authority
+ACME
+.Ar authority
+to talk to.
+Currently the following authorities are available:
+.Bl -tag
+.It Cm letsencrypt
+Let's Encrypt authority
+.It Cm letsencrypt-staging
+Let's Encrypt staging authority
+.El
+The default is
+.Cm letsencrypt .
.It Fl v
Verbose operation.
Specify twice to also trace communication and data transfers.