Archive for the ‘Serverの構築と運用覚書き’ Category
Tuesday, April 20th, 2021
定期的に行っている Letsencrypt SSL証明書を更新した。
更新作業は特段の問題もなく完了した。以下、作業記録としてログを残しておいた:
[root@server02 letsencrypt]# certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d *.yamasnet.com -d yamasnet.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator certbot-plugin-gandi:dns, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for yamasnet.com
dns-01 challenge for yamasnet.com
Waiting 10 seconds for DNS changes to propagate
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/yamasnet.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/yamasnet.com/privkey.pem
Your cert will expire on 2021-07-18. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
更新作業終了後、httpd を restart し、更新を反映:
[root@server02 letsencrypt]# systemctl restart httpd
更新後のSSL証明書の有効期限は、2021/04/19 から 2021/07/18 まで
Posted in Serverの構築と運用覚書き | No Comments »
Monday, February 15th, 2021
Letsencrypt SSL証明書の有効期限がひと月を切ったので更新作業を実施した。
以下、更新時のログをアップ:
[root@server02 letsencrypt]# certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d *.yamasnet.com -d yamasnet.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator certbot-plugin-gandi:dns, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for yamasnet.com
dns-01 challenge for yamasnet.com
Waiting 10 seconds for DNS changes to propagate
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/yamasnet.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/yamasnet.com/privkey.pem
Your cert will expire on 2021-05-16. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
上記変更を反映するため、httpdをrestart:
[root@server02 letsencrypt]# systemctl restart httpd
証明書情報の有効期間を確認:
更新後の有効期間は、2021/02/15 から 2021/05/16
Posted in Serverの構築と運用覚書き | No Comments »
Monday, February 1st, 2021
本ブログのサイト内検索機能のうち、検索結果表示テンプレート search.php に誤りが見つかったので修正した。
修正後、修正前の search.php の一部をメモしておいた、
(続きを読む)
Posted in Serverの構築と運用覚書き | No Comments »
Sunday, January 17th, 2021
nodejsのEXPRESSでWeb Serverを立て、クライアント側にはFetch apiを配置し、サーバーからデータを取得する手続きを実装。
試行錯誤で、なんとか動くようになったのでメモしておいた。
(続きを読む)
Posted in Serverの構築と運用覚書き | No Comments »
Wednesday, December 16th, 2020
日本時間14日午後9時ころ、Googleに障害が発生し、YouTube、Gmailなどのサービスが世界各地でアクセスできなくなっていたという。
この障害発生について、日経(電子版:2020/12/15 7:29更新)記事「Google大規模障害 一時メールなど使えず」でも報じられている。
日経記事のリード文は以下(転載):
米グーグルのメールなどのサービスが14日、世界の幅広い地域で一時接続できなくなった。米東部時間14日午前7時30分ごろ(日本時間同午後9時30分ごろ)には一部の機能は復旧した。グーグルのサービスは大企業も含め、数十億人が利用しており、一企業のシステムトラブルが世界に混乱を招くリスクも浮き彫りにした。
(続きを読む)
Posted in Serverの構築と運用覚書き, 気になったニュース | No Comments »