Changes between Initial Version and Version 1 of Let's encrypt設定方法(CentOS)


Ignore:
Timestamp:
Feb 20, 2017, 3:29:59 PM (7 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Let's encrypt設定方法(CentOS)

    v1 v1  
     1
     2{{{
     3
     4
     5yum install -y git openssl mod_ssl
     6git clone https://github.com/letsencrypt/letsencrypt
     7
     8
     9}}}
     10
     11
     12== CentOS 7 の場合 ==
     13
     14{{{
     15yum install certbot certbot-apache
     16sudo firewall-cmd --add-port=443/tcp --zone=public
     17sudo firewall-cmd --add-port=443/tcp --zone=public --permanent
     18
     19sudo certbot run --apache -d ドメイン1 -d ドメイン2
     20
     21バーチャルドメインの1と2のサーバ証明書がssl.confに自動で追加される。
     22
     23下記のコマンドでサーバ証明書の更新ができる。
     242カ月に1回自動で実行させる。
     25sudo certbot renew
     26
     27}}}