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


Ignore:
Timestamp:
Feb 20, 2017, 4:28:37 PM (7 years ago)
Author:
admin
Comment:

--

Legend:

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

    v2 v3  
    3939== SSL証明書のみ作成 ==
    4040
    41 ドメイン:kstep.betasoft.co.jp
     41ドメイン:yyyy.xxxx.co.jp
    4242ルートディレクトリ:/var/www/html
    43 メールアドレス:pmadmin@betasoft.co.jp
     43メールアドレス:pmadmin@xxxx.co.jp
    4444
    4545{{{
    46 # ./certbot-auto certonly --non-interactive --agree-tos --webroot -w /var/www/html -d kstep.betasoft.co.jp --email pmadmin@betasoft.co.jp
     46# ./certbot-auto certonly --non-interactive --agree-tos --webroot -w /var/www/html -d yyyy.xxxx.co.jp --email pmadmin@xxxx.co.jp
    4747
    4848下記の場所に証明書ファイルが作成される。
    49 #  ls -l /etc/letsencrypt/live/kstep.betasoft.co.jp/
    50 #  ls -l /etc/letsencrypt/archive/kstep.betasoft.co.jp/  <-- 実態はこちら
     49#  ls -l /etc/letsencrypt/live/yyyy.xxxx.co.jp/
     50#  ls -l /etc/letsencrypt/archive/yyyy.xxxx.co.jp/  <-- 実態はこちら
    5151}}}
    5252
     
    5757{{{
    5858<VirtualHost *:443>
    59     ServerAdmin t.nagae@betasoft.co.jp
    60     ServerName kstep.betasoft.co.jp
     59    ServerAdmin t.nagae@xxxx.co.jp
     60    ServerName yyyy.xxxx.co.jp
    6161    ProxyPreserveHost On
    6262    ProxyPass /.well-known !
    6363    ProxyPass        /   http://192.168.25.70:8080/
    6464    ProxyPassReverse /   http://192.168.25.70:8080/
    65     CustomLog      logs/kstep_access.log common
    66     ErrorLog       logs/kstep_error.log
     65    CustomLog      logs/yyyy_access.log common
     66    ErrorLog       logs/yyyy_error.log
    6767    SSLEngine on
    6868    SSLProtocol all -SSLv2
    6969    SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
    70     SSLCertificateFile /etc/letsencrypt/live/kstep.betasoft.co.jp/cert.pem
    71     SSLCertificateKeyFile /etc/letsencrypt/live/kstep.betasoft.co.jp/privkey.pem
    72     SSLCertificateChainFile /etc/letsencrypt/live/kstep.betasoft.co.jp/chain.pem
     70    SSLCertificateFile /etc/letsencrypt/live/yyyy.xxxx.co.jp/cert.pem
     71    SSLCertificateKeyFile /etc/letsencrypt/live/yyyy.xxxx.co.jp/privkey.pem
     72    SSLCertificateChainFile /etc/letsencrypt/live/yyyy.xxxx.co.jp/chain.pem
    7373</VirtualHost>
    7474}}}