Let's Encrypt の導入
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* Let's Encrypt の導入 [#z1809363]
[[Let's Encrypt:https://letsencrypt.org/]]には、日本語の...
[[Let's Encrypt 総合ポータル:https://free-ssl.jp/]]を参考...
Debian 9 用の Certbot パケージは Stretch backports リポジ...
$ sudo nano /etc/apt/sources.list
以下を追加
deb http://ftp.debian.org/debian stretch-backports main
$ sudo apt update
** Let's Encrypt の導入 [#w6c8136b]
$ sudo apt -t stretch-backports install certbot
$ sudo service apache2 stop
$ sudo certbot certonly --webroot -w <ドキュメントルート...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Enter email address (used for urgent renewal and securit...
cancel): <メールアドレス>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15...
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
(A)gree/(C)ancel: A ... ここは許諾して
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
Would you be willing to share your email address with th...
Foundation, a founding partner of the Let's Encrypt proj...
organization that develops Certbot? We'd like to send yo...
encrypting the web, EFF news, campaigns, and ways to sup...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
(Y)es/(N)o: N ... ここは任意
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for <ドメイン>
http-01 challenge for <サブドメイン>
Using the webroot path <ドキュメントルート> for all unma...
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been...
/etc/letsencrypt/live/<ドメイン>/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/<ドメイン>/privkey.pem
Your cert will expire on 20xx-xx-xx. To obtain a new ...
version of this certificate in the future, simply run...
again. To non-interactively renew *all* of your certi...
"certbot renew"
- Your account credentials have been saved in your Cert...
configuration directory at /etc/letsencrypt. You shou...
secure backup of this folder now. This configuration ...
also contain certificates and private keys obtained b...
making regular backups of this folder is ideal.
- If you like Certbot, please consider supporting our w...
Donating to ISRG / Let's Encrypt: https://letsencry...
Donating to EFF: https://eff.org/d...
無事に証明書発行
** apachの設定変更 [#n09574c6]
バージョンの確認
$ sudo apache2 -v
Server version: Apache/2.4.25 (Debian)
Server built: 2019-04-02T19:05:13
/etc/apache2/sites-available/ 配下のSSLの設定を変更する~
Apache 2.4.8 以降なので、下記のディレクティブを変更。~
※SSL化済みのサイトなので...
SSLCertificateFile /etc/letsencrypt/live/<ドメイン名>...
SSLCertificateKeyFile /etc/letsencrypt/live/<ドメイン名>...
再起動
$ sudo service apache2 restart
~
#htmlinsert(amazon_pc.html);
終了行:
* Let's Encrypt の導入 [#z1809363]
[[Let's Encrypt:https://letsencrypt.org/]]には、日本語の...
[[Let's Encrypt 総合ポータル:https://free-ssl.jp/]]を参考...
Debian 9 用の Certbot パケージは Stretch backports リポジ...
$ sudo nano /etc/apt/sources.list
以下を追加
deb http://ftp.debian.org/debian stretch-backports main
$ sudo apt update
** Let's Encrypt の導入 [#w6c8136b]
$ sudo apt -t stretch-backports install certbot
$ sudo service apache2 stop
$ sudo certbot certonly --webroot -w <ドキュメントルート...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Enter email address (used for urgent renewal and securit...
cancel): <メールアドレス>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15...
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
(A)gree/(C)ancel: A ... ここは許諾して
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
Would you be willing to share your email address with th...
Foundation, a founding partner of the Let's Encrypt proj...
organization that develops Certbot? We'd like to send yo...
encrypting the web, EFF news, campaigns, and ways to sup...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
(Y)es/(N)o: N ... ここは任意
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for <ドメイン>
http-01 challenge for <サブドメイン>
Using the webroot path <ドキュメントルート> for all unma...
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been...
/etc/letsencrypt/live/<ドメイン>/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/<ドメイン>/privkey.pem
Your cert will expire on 20xx-xx-xx. To obtain a new ...
version of this certificate in the future, simply run...
again. To non-interactively renew *all* of your certi...
"certbot renew"
- Your account credentials have been saved in your Cert...
configuration directory at /etc/letsencrypt. You shou...
secure backup of this folder now. This configuration ...
also contain certificates and private keys obtained b...
making regular backups of this folder is ideal.
- If you like Certbot, please consider supporting our w...
Donating to ISRG / Let's Encrypt: https://letsencry...
Donating to EFF: https://eff.org/d...
無事に証明書発行
** apachの設定変更 [#n09574c6]
バージョンの確認
$ sudo apache2 -v
Server version: Apache/2.4.25 (Debian)
Server built: 2019-04-02T19:05:13
/etc/apache2/sites-available/ 配下のSSLの設定を変更する~
Apache 2.4.8 以降なので、下記のディレクティブを変更。~
※SSL化済みのサイトなので...
SSLCertificateFile /etc/letsencrypt/live/<ドメイン名>...
SSLCertificateKeyFile /etc/letsencrypt/live/<ドメイン名>...
再起動
$ sudo service apache2 restart
~
#htmlinsert(amazon_pc.html);
ページ名: