1. Use Certbot (HTTP challenge)
Adjust the command to the corresponding package manager and HTTP server.
|
|
This method automatically installs the certificates generated by adjustments to the HTTP server config files.
2. Use acme-dns-certbot (DNS validation)
Use this method when ports 80 and 443 aren’t available. The ACME server does HTTP challenges over ports 80 and 443, so in this case, HTTP challenges won’t work.
|
|
Check if
python-requests
library is installed before proceeding to the next step.
|
|
Add a 3
to the end of the first line of acme-dns-auth.py
, making it look like this:
|
|
|
|
Add the CNAME records per the instructions given by Certbot, and the SSL certificates should be good to go.
References
Jay’s video on using Certbot to get an SSL certificate
Apache SSL configurations from Apache official docs
How to get an SSL certificate using DNS validation with acme-dns-certbot