LoginSignup
1
4

More than 5 years have passed since last update.

Let’s EncryptをCentOS7.4にインストール

Last updated at Posted at 2017-10-06

パッケージインストール

sudo yum -y install --enablerepo=epel certbot

以下SSL証明書取得コマンド

sudo certbot certonly --webroot -w ドキュメントルート -d ドメイン

証明書更新

sudo certbot renew

証明書更新は、renewで期限がきたら更新されるのでデイリーでCRONに設定しても良い
なお、稼働中のサーバにSSLを導入する前提の記事です。

0 0 * * * /bin/certbot renew
1
4
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
1
4