Fix Not Secure Warning With Let’s Encrypy
Refs:
Intro
- SSL: Secure Socket Layer
- SSL Certificates are Digitals
- CA: Certificate Authority
SSL Type
- EV: Extended Validation
- Hard to get
- OV: Organizatinoal Validation
- For Company
- DV: Domain Validation
- Easiest, Cheapest
Let's Encrypt
is free
Step 1 — Install the Let’s Encrypt Client on Ubuntu 16.04
|
|
Step 2 — Set Up the SSL Certificate
|
|
- Easy: Allow both HTTP and HTTPS access to these sites
- Secure: Make all requests redirect to secure HTTPS access
Always choose Secure
certificate files location: /etc/letsencrypt/live
SSL Status: https://www.ssllabs.com/ssltest/analyze.html?d=example.com&latest
Step 3 - See what happen
/etc/apache2/sites-enabled
Step 4 — Renew
ssl expired after 90 days
|
|
(Optional) Step 5 — Set Up Auto Renewal
sudo crontab -e
|
|
will execute letsencrypt-auto renew
every Monday at 2:30 am.
Revoke Certificate
|
|