2022 Jan. 28 (Fri.) yum update: mysql err. [長年日記]
_ [server] 背景
yum update にて下記の err.
warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-common-5.7.37-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY Public key for mysql-community-common-5.7.37-1.el7.x86_64.rpm is not installed
_ 解法
https://support.cpanel.net/hc/en-us/articles/4419382481815
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
2022 Jan. 29 (Sat.) replacement: from letsencrypt-auto to certbot on centOS 7.9.x [長年日記]
_ [server] 背景
/usr/local/src/letsencrypt/letsencrypt-auto renew
にて下記
Your system is not supported by certbot-auto anymore. certbot-auto and its Certbot installation will no longer receive updates. You will not receive any bug fixes including those fixing server compatibility or security problems.
の alert が。
辿って行ったら、去年の 5月くらいから告知されていた。
_ 解法
・certbot install
yum install certbot certbot-1.11.0-2.el7.noarch
・確認
certbot renew --dry-run
・cron 更新
前:
/usr/local/src/letsencrypt/letsencrypt-auto renew --force-renew && /bin/systemctl reload httpd
後:
/usr/bin/certbot renew && /bin/systemctl reload httpd