Score:0

Certbot regularly fails hostname match when run automatically but succeeds run manually

ru flag

I'm using Let's Encrypt and Certbot on CentOS 7 with locally hosted DNS. Let's Encrypt works great and renewals often(?) just work but very regularly, like at least every few days, I get a failure on one of my renewals with a message like:

Failed to renew certificate domain.com with error: hostname 'acme-v02.api.letsencrypt.org' doesn't match 'sub.domain.com' All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/domain.com/fullchain.pem (failure) 1 renew failure(s), 0 parse failure(s)

If I ssh in and run cerbot renew manually it often just works but also occassionally fails there, too.

This is annoying because I get emails of the failures via cron.

I assume this boils down to DNS but I can't tell if there are problems on my side, since everything else seems to work well, I'm assuming there's something I'm missing about how they go about it on their side.

Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.