TLS
TLS免費申請
安裝說明https://letsencrypt.org/getting-started/
1.下載certbot
$ git clone https://github.com/certbot/certbot
$ cd certbot
2.安申請憑證
(注意記憶體的問題,如果失敗,可能是ram不夠用,先關掉一些service)
$ sudo ./certbot-auto certonly --webroot -w /home/zeeman/web/public -d linenet.net -d www.linenet.net -d linenet.net -d game.linenet.net
3.成功後憑證會產生到以下的目錄
/etc/letsencrypt/live/linenet.net/