- Install Cerbot
For Debian Systemssudo apt install certbot
For RHEL/Centossudo yum install certbot
- Run the Certbot Command by replacing example.com with your domain:
- Agree the Terms.
- To validate the domain, a TXT record value will be generated by certbot. just copy the info and create a TXT record on you DNS zone editor provided by you registrar and then hit enter.
-
Once the domain gets validated, the certs would be generated and a location will be displayed on the screen. Now you can install the certificates that are generated. Below is the apache 2 configuration example:
... SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem ...
Certbot Cert Only Let's Encrypt SSL for Manual Setup
Thursday, December 24, 2020
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment