Skip to content

Commit 88410db

Browse files
authored
Merge pull request #1222 from vyos/certbot-T5886
pki: T5886: add support for ACME protocol (LetsEncrypt)
2 parents a0c8bda + 8e2932e commit 88410db

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

docs/configuration/pki/index.rst

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:lastproofread: 2021-09-01
1+
:lastproofread: 2024-01-05
22

33
.. include:: /_include/need_improvement.txt
44

@@ -248,6 +248,44 @@ certificates used by services on this router.
248248

249249
If CA is present, this certificate will be included in generated CRLs
250250

251+
ACME
252+
^^^^
253+
254+
The VyOS PKI subsystem can also be used to automatically retrieve Certificates
255+
using the :abbr:`ACME (Automatic Certificate Management Environment)` protocol.
256+
257+
.. cfgcmd:: set pki certificate <name> acme domain-name <name>
258+
259+
Domain names to apply, multiple domain-names can be specified.
260+
261+
This is a mandatory option
262+
263+
.. cfgcmd:: set pki certificate <name> acme email <address>
264+
265+
Email used for registration and recovery contact.
266+
267+
This is a mandatory option
268+
269+
.. cfgcmd:: set pki certificate <name> acme listen-address <address>
270+
271+
The address the server listens to during http-01 challenge
272+
273+
.. cfgcmd:: set pki certificate <name> acme rsa-key-size <2048 | 3072 | 4096>
274+
275+
Size of the RSA key.
276+
277+
This options defaults to 2048
278+
279+
.. cfgcmd:: set pki certificate <name> acme url <url>
280+
281+
ACME Directory Resource URI.
282+
283+
This defaults to https://acme-v02.api.letsencrypt.org/directory
284+
285+
.. note:: During initial deployment we recommend using the staging API
286+
of LetsEncrypt to prevent and blacklisting of your system. The API
287+
endpoint is https://acme-staging-v02.api.letsencrypt.org/directory
288+
251289
Operation
252290
=========
253291

@@ -292,3 +330,7 @@ also to display them.
292330
.. opcmd:: show pki crl
293331

294332
Show a list of installed :abbr:`CRLs (Certificate Revocation List)`.
333+
334+
.. opcmd:: renew certbot
335+
336+
Manually trigger certificate renewal. This will be done twice a day.

0 commit comments

Comments
 (0)