SSL stands for Secure Socket Layers. SSL is one of the standard security technology for Establishment of an encrypted link between a server and client. SSL allows sensitive information such as credit card numbers, social security numbers, and login credentials to be transmitted securely.
When a site is secured by an SSL certificate HTTPS appears in the URL. HTTPS is a secure form of the HTTP protocol. HTTPS is based on public/private-key cryptography. There is a key pair:
– The public key is used for encryption
– The secret private key is required for decryption.
A certificate is a public key with a label identifying the owner.
In this post, I’m sharing information about the Certbot which is the provide the SSL certificate for your website.
Certbotis the open-source software tools which provide SSL certificate for your website. Certbot is a software tool for automatically using Let’s Encrypt certificates on the manually-administrated website to enables HTTPS.
Is Certbot right for you ??
You always may not need Certbot for adding security and privacy benefits of an HTTPS certificate to your website. Most of the hosting providers have the tools to enable the HTTPS to your website.
Before using Certbot: Check your hosting providers is one of them.
So, if your website provider is on the above link think then Certbot might be
right for you.
If you know the following things it might also help you a lot
- have a comfort with the command line.
- have an HTTP website that’s already online, with port 80 open,
- and administer your website via a dedicated server, virtual private server, or cloud-hosted server, which you can access via SSH, and have the ability to Sudo.
Certbot renew the certificate every 60 days.
Here are the instructions for configuring the Certbot on HTTP website running on Nginx on Ubuntu 16.04
- SSH into the server
SSH into the server running your HTTP website as a user with Sudo privieges.
- Add Certbot PPA:
- Install Certbot:
Run the following command on the command line to install Certbot:
apt-get install certbot python-certbot-nginx
- Run Certbot:
sudo certbot --nginx
- Test automatic renewal:
The Certbot package on your system will renew your certificates automatically before they expire. You will not need to run Certbot again unless you change your configuration. You can test automatic renewal for your certificates by running this command:
sudo certbot renew --dry-run