如何讓網站提供 HTTPS
參考:Let’s Encrypt is a free, automated, and open Certificate Authority.
上面網站按「Get Started」裡面有介紹 Cerbot:
Automatically enable HTTPS on your website with EFF's Certbot, deploying Let's Encrypt certificates.
進入 Certbot 網站,選擇使用的 Web Server、Server OS 版本,
然後按照說明步驟執行,蠻容易的。
做完後,它會將產生的憑證放在 /etc/letsencrypt
然後 server 的防火牆要開 443 port
server 所在的網路如果有防火牆也要開 443 port
重新啟動 web server
然後就可以使用以下 Cerbot 提供的網址測試:
https://www.ssllabs.com/ssltest/analyze.html?d=YOUR.WEB.ADDRESS