Changes between Version 2 and Version 3 of Let's encrypt設定方法(CentOS)
- Timestamp:
- Feb 20, 2017, 4:28:37 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Let's encrypt設定方法(CentOS)
v2 v3 39 39 == SSL証明書のみ作成 == 40 40 41 ドメイン: kstep.betasoft.co.jp41 ドメイン:yyyy.xxxx.co.jp 42 42 ルートディレクトリ:/var/www/html 43 メールアドレス:pmadmin@ betasoft.co.jp43 メールアドレス:pmadmin@xxxx.co.jp 44 44 45 45 {{{ 46 # ./certbot-auto certonly --non-interactive --agree-tos --webroot -w /var/www/html -d kstep.betasoft.co.jp --email pmadmin@betasoft.co.jp46 # ./certbot-auto certonly --non-interactive --agree-tos --webroot -w /var/www/html -d yyyy.xxxx.co.jp --email pmadmin@xxxx.co.jp 47 47 48 48 下記の場所に証明書ファイルが作成される。 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/ <-- 実態はこちら 51 51 }}} 52 52 … … 57 57 {{{ 58 58 <VirtualHost *:443> 59 ServerAdmin t.nagae@ betasoft.co.jp60 ServerName kstep.betasoft.co.jp59 ServerAdmin t.nagae@xxxx.co.jp 60 ServerName yyyy.xxxx.co.jp 61 61 ProxyPreserveHost On 62 62 ProxyPass /.well-known ! 63 63 ProxyPass / http://192.168.25.70:8080/ 64 64 ProxyPassReverse / http://192.168.25.70:8080/ 65 CustomLog logs/ kstep_access.log common66 ErrorLog logs/ kstep_error.log65 CustomLog logs/yyyy_access.log common 66 ErrorLog logs/yyyy_error.log 67 67 SSLEngine on 68 68 SSLProtocol all -SSLv2 69 69 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW 70 SSLCertificateFile /etc/letsencrypt/live/ kstep.betasoft.co.jp/cert.pem71 SSLCertificateKeyFile /etc/letsencrypt/live/ kstep.betasoft.co.jp/privkey.pem72 SSLCertificateChainFile /etc/letsencrypt/live/ kstep.betasoft.co.jp/chain.pem70 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 73 73 </VirtualHost> 74 74 }}}