SSL: Install Let's Encrypt di Ubuntu 14.04

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04


Step 1 — Download the Let’s Encrypt Client

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache


Step 2 — Set Up the SSL Certificate

sudo certbot --apache -d example.com
sudo certbot --apache -d example.com -d www.example.com

Verify

https://www.ssllabs.com/ssltest/analyze.html?d=example.com&latest

Step 3 — Verifying Certbot Auto-Renewal

test

sudo certbot renew --dry-run


Masukan ke cron (2x sehari)

certbot renew