概要 letsencryptを使えば、無料でSSLの証明書を取得することができます。 本文では、Ubuntu16.04 + Nginxでのletsencryptの使い方と、nginxの設定例をまとめました。 環境 Ubuntu16.04 Nginx letsencryptをインストール # letsencryptがport80を使用するので、一旦nginxを停止する $ sudo systemctl stop nginx # 証明書を取得(-dオプションにはあなたのドメイン名を指定してください) $ sudo letsencrypt certonly --standalone -d hoge.example.com ... IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at /e