Difference between revisions of "Certbot"

From Dogtag
Jump to: navigation, search
m (Requesting a Certificate)
m (See Also)
Line 44: Line 44:
 
= See Also =
 
= See Also =
  
 +
* [https://certbot.eff.org/ Certbot]
 +
* [https://certbot.eff.org/docs/ Certbot Docs]
 
* [[ACME Client]]
 
* [[ACME Client]]

Revision as of 23:43, 13 August 2019

Installation

$ dnf install certbot

Requesting a Certificate

To request a certificate with http-01 challenge:

$ certbot certonly --standalone -d example.com -d www.example.com --register-unsafely-without-email

To request a certificate with http-01 challenge from a different machine:

$ certbot certonly --manual -d example.com -d www.example.com --register-unsafely-without-email

To request a certificate with dns-01 challenge:

$ certbot certonly --manual -d example.com -d www.example.com --register-unsafely-without-email --preferred-challenges dns

To request a multi-domain certificate:

$ certbot certonly -d example.com -d www.example.com

To request a certificate from a different server:

$ certbot certonly -d example.com --server http://localhost:8080/acme/rest/directory

The results will be stored in:

  • certificate: /etc/letsencrypt/live/example.com/fullchain.pem
  • private key: /etc/letsencrypt/live/example.com/privkey.pem

See Also