"# Certbot renew-dry-run" is "Congratulations", but "# systemctl status certbot-renew" is "Failed to start This service automatically renews any certbot certificates found."

environment
・CentOS 7
・Nginx
・Certbot 0.31.0

"Certbot renew-dry-run" is "Congratulations"
$ sudo certbot renew --dry-run

Congratulations, all renewals succeeded. The following certs have been renewed:

"systemctl status certbot-renew" is "Failed to start This service automatically renews any certbot certificates found."
# systemctl status certbot-renew

● certbot-renew.service - This service automatically renews any certbot certificates found
Loaded: loaded (/usr/lib/systemd/system/certbot-renew.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since 金 2019-04-19 04:17:22 JST; 19h ago
Main PID: 16985 (code=exited, status=1/FAILURE)

4月 19 04:17:22 hoge.vs.sakura.ne.jp certbot[16985]: Detail: Invalid response from
4月 19 04:17:22 hoge.vs.sakura.ne.jp certbot[16985]: https://xxxx.xxxx.xxx/.well-known/acme-challenge/PNxYxxxx
4月 19 04:17:22 hoge.vs.sakura.ne.jp certbot[16985]: [IP ADDRESS]: "\r\n<htm"
4月 19 04:17:22 hoge.vs.sakura.ne.jp certbot[16985]: To fix these errors, please make sure that your domain name was
4月 19 04:17:22 hoge.vs.sakura.ne.jp certbot[16985]: entered correctly and the DNS A/AAAA record(s) for that domain
4月 19 04:17:22 hoge.vs.sakura.ne.jp certbot[16985]: contain(s) the right IP address.
4月 19 04:17:22 hoge.vs.sakura.ne.jp systemd[1]: Failed to start This service automatically renews any certbot certificates found.
4月 19 04:17:22 hoge.vs.sakura.ne.jp systemd[1]: Unit certbot-renew.service entered failed state.
4月 19 04:17:22 hoge.vs.sakura.ne.jp systemd[1]: certbot-renew.service failed.

Q
・Why is the result different even though it is the same "certbot renew" command?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.