- 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
The automated installation of Certbot works well with a clean VPS server. However, the trouble begins whenever the pre-owned setup is complex (unsupported cPanel). The SSL certificate is not only limited to the Web Server. Let's Encrypt certificate can also be used in a mail server or SFTP setup. Therefore manual generation mechanism is essential to use the authorised SSL certificate in our desired application. The below example is for apache to gain little insight into the usage
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment