2020-08-12 11:09:15 +00:00
|
|
|
certbot
|
|
|
|
=======
|
|
|
|
|
|
|
|
DNS certificate
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. code:: shell
|
|
|
|
|
|
|
|
mkdir tmp
|
2021-02-04 21:29:18 +00:00
|
|
|
DOMAIN='domain.tld'
|
|
|
|
certbot \
|
2020-08-12 11:09:15 +00:00
|
|
|
--config-dir tmp \
|
|
|
|
--logs-dir tmp \
|
|
|
|
--work-dir tmp \
|
|
|
|
certonly \
|
|
|
|
--agree-tos \
|
|
|
|
--manual \
|
|
|
|
--no-eff-email \
|
|
|
|
--preferred-challenges dns \
|
2021-02-04 20:02:17 +00:00
|
|
|
--csr tls.csr \
|
|
|
|
--email acme@${DOMAIN} \
|
|
|
|
--domains ${DOMAIN},*.${DOMAIN}
|