Tag Archeve for the ‘letsencrypt’ Category



LetsEcrypt SSL証明書の更新(2022/04/01実施)

Saturday, April 2nd, 2022

LetsEncrypt SSL証明書を更新した。

前回、前々回の更新と同様、ディレクトリ /etc/letsencryptを削除後、新たにletsencryptを作成する手順で更新。

新規作成後、httpd を再起動。その後、証明書の有効期限を確認。

以下、更新時ログ:

[root@server02 etc]# certbot certonly --manual
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)
 (Enter 'c' to cancel): *****@yamasnet.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
Account registered.
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): *.yamasnet.com
Requesting a certificate for *.yamasnet.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name:

_acme-challenge.yamasnet.com.

with the following value:

*******************************************

Before continuing, verify the TXT record has been deployed. Depending on the DNS
provider, this may take some time, from a few seconds to multiple minutes. You can
check if it has finished deploying with aid of online tools, such as the Google
Admin Toolbox: https://toolbox.googleapps.com/apps/dig/#TXT/_acme-challenge.yamasnet.com.
Look for one or more bolded line(s) below the line ';ANSWER'. It should show the
value(s) you've just added.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue

Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/yamasnet.com/fullchain.pem
Key is saved at:         /etc/letsencrypt/live/yamasnet.com/privkey.pem
This certificate expires on 2022-06-30.
These files will be updated when the certificate renews.

NEXT STEPS:
- This certificate will not be renewed automatically. Autorenewal of --manual certificates requires the use of an authentication hook script (--manual-auth-hook) but one was not provided. To renew this certificate, repeat this same certbot command before the certificate's expiry date.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[root@server02 etc]# systemctl restart httpd

  



LetsEncrypt SSL証明書更新(2021/11/18実施)

Friday, November 19th, 2021

LetsEncrypt SSL証明書を更新した。

前回の更新と同様の手続きで更新作業を行った。

なお、certbotのversion は以下:

# certbot --version
certbot 1.20.0

  



LetsEncrypt SSL証明書更新(2021/09/04)

Saturday, September 4th, 2021

LetsEcnrypt SSL証明書を更新した。

今回は、証明書発行用ツール Certbot を 新たに dnf インストールし、これを用いて証明書を作成した。

以下、Ceertbotの新規導入、SSL証明書の新規取得手続き(ログ)をアップしておいた。
(続きを読む)



LetsEncrypt SSL証明書更新(2021/06/19)

Saturday, June 19th, 2021

従来から定期的に行っている LetsEncrypt SSL証明書を更新した。

今回は、更新用ツールCertbotを新規バージョンにしたこともあり前回(2021/4/19)用いた自動更新手続きが適用できず、SSL証明書の新規取得手続きを用いている。

以下、Certbotの導入、SSL証明書の新規取得手続き(ログ)をアップしておいた。
(続きを読む)



Letsencrypt SSL証明書の更新(2021/4/19実施)

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 まで