SSL: Install Let's Encrypt di Ubuntu 14.04

From OnnoWiki
Revision as of 06:14, 28 December 2021 by Onnowpurbo (talk | contribs) (Created page with "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 ad...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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