Hello there, I will show you how to get free SSL for your websites!
Ok, lets start.
Let's encrypt does not support wildcard, or Extended Validation.
Certificates are active for 90 days, then you have to renew them
Ok, lets start.
- Start by updating:
Code:sudo apt-get update -y
- Now install git (if not installed already):
Code:sudo apt-get install git -y
- Install CertBot (Also known as Let's Encrypt):
Code:git clone https://github.com/certbot/certbot
- Change to the directory:
Code:cd certbot
- After, run the script that you just installed:
Code:./certbot-auto --help
- Issuing Certificates:
Note: Make sure the domains you want to issue certificates to are pointed to the external IP of the VPS you are running CertBot on. (Create an A Record)
Now, to generate a certificate and have it automatically installed to an Apache based CMS:
Code:./certbot-auto --apache -d example.com -d www.example.com -d other.example.net
To generate certificates and manually install them:
Code:./certbot-auto certonly --standalone --email youremail@example.com -d example.com -d www.example.com -d other.example.net
- Your certificates can be found at:
Code:/etc/certbot/archive/%domain%
Let's encrypt does not support wildcard, or Extended Validation.
Certificates are active for 90 days, then you have to renew them