5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Let's Encryptしてみました

Last updated at Posted at 2016-05-14

Let's Encrypt

無料で利用できるSSL。以下を読むとわかりやすい。

Let's Encrypt 総合ポータル

流れ

  1. Webサーバに Certbot クライアント をインストール
  2. 証明書を取得する
  3. Apacheの設定を編集してreload

手順は詳しく書いてあるので省略

Let's Encrypt 総合ポータル - Let's Encrypt の使い方

CentOS7 で実施したが、特にトラブることなく取得できた。
唯一気になったのは、上記ガイド通りに進めるとhttpd停止が必要になった点。
Webroot と呼ばれる方式でサーバ無停止で取得できる。

Let's Encrypt 総合ポータル - Let's Encrypt ユーザーガイド - Webroot

更新の方法

standalon モードでの更新方法

cd /path/to/certbot
certbot-auto renew --pre-hook 'systemctl stop httpd' --post-hook 'systemctl start httpd'

おまけ

ついでなのでよりセキュアにしたかったので下記を参考にした。

TECHSCORE BLOG - ApacheのSSL設定を考えた

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?