In the previous post, we have already configured certbot and moved it to a specific path to the defined path of your server. Now we have to get the CRT file from letencrypt server connecting to your server SSH.
So what is CRT file?
CRT files are used to verify a secure website’s authenticity, distributed by certificate authority (CA) companies such as GlobalSign, Starfield, Godaddy, VeriSign, and Thawte. CRT files allow a web browser to connect securely using the Secure Sockets Layer protocol.
Certbot command for Apache
certbot –authenticator webroot –webroot-path –installer apache –agree-tos –email admin@itedvantage.com -d YOUR-DOMAIN.EXT -d www.YOUR-DOMAIN.EXT
Replace the variables with your server details of Apache.
Certbot command for Nginx
certbot –authenticator webroot –webroot-path –installer nginx –agree-tos –email admin@itedvantage.com -d YOUR-DOMAIN.EXT -d www.YOUR-DOMAIN.EXT
Replace the variables with your server details of Nginx.
You should actually point the domain to your server before you proceed with the above steps.
certbot certonly –standalone -d YOUR-DOMAIN.EXT
This will only get you CRT file, above steps would help you get it install step by step.
In the next post, I’ll show you how to auto-renew the certification using a cron job.