Let’s Encrypt is a new certificate authority, recognized by all major browsers. It’s a Linux Foundation initative. On December 3 , It entered public beta allowing anyone to generate SSL certificate free of cost for duration of 3 months which can later be renewed when it expires.
Let’s Encrypt is way better option than other certificate authorities normally:
- It’s Free.
- Well documented.
- Supported by all modern browsers.
- Uses modern cryptographic backed methods for verifying proper ownership of domains.
It’s setup is not very complicated , I will describe how I configured it on a nginx http server .
First download letsencrypt (either from git repo or from your distro repo)
Enter your email and domain name when promted.
Finally just edit your nginx domain configuration file , edit server block in your configuration file like
you can also redirect http request to https by adding
before closing your server block in config file. Finally just start your ngnix server