At the turn of the year there was a directadmin update and problems with certificate renewals started to occur.
I noticed that the renewal runs correctly when I remove the * entry for the domain in the domain zone in ovh, but then the redirection to subdomains does not work :/
I did not change the configuration of either the refresh or the DNS entries.Found wildcard domain name and http challenge type, switching to dns-01 validation.
2024/02/24 00:11:52 [INFO] [*.domain.com, domain.com] acme: Obtaining SAN certificate
2024/02/24 00:11:53 [INFO] [*.domain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/318727169577
2024/02/24 00:11:53 [INFO] [domain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/318727169587
2024/02/24 00:11:53 [INFO] [*.domain.com] acme: use dns-01 solver
2024/02/24 00:11:53 [INFO] [domain.com] acme: Could not find solver for: tls-alpn-01
2024/02/24 00:11:53 [INFO] [domain.com] acme: Could not find solver for: http-01
2024/02/24 00:11:53 [INFO] [domain.com] acme: use dns-01 solver
2024/02/24 00:11:53 [INFO] [*.domain.com] acme: Preparing to solve DNS-01
2024/02/24 00:11:53 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "domain.com."
2024/02/24 00:11:53 refusing to create DNS challenge record 'domain.com', missing _acme-challenge prefix
2024/02/24 00:11:53 [INFO] [*.domain.com] acme: Cleaning DNS-01 challenge
2024/02/24 00:11:53 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "domain.com."
2024/02/24 00:11:53 refusing to remove DNS challenge record 'domain.com', missing _acme-challenge prefix
2024/02/24 00:11:53 [WARN] [*.domain.com] acme: cleaning up failed: exec: exit status 1
2024/02/24 00:11:53 [INFO] [domain.com] acme: Preparing to solve DNS-01
2024/02/24 00:11:53 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "domain.com."
2024/02/24 00:11:53 refusing to create DNS challenge record 'domain.com', missing _acme-challenge prefix
2024/02/24 00:11:53 [INFO] [domain.com] acme: Cleaning DNS-01 challenge
2024/02/24 00:11:53 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "domain.com."
2024/02/24 00:11:53 refusing to remove DNS challenge record 'domain.com', missing _acme-challenge prefix
2024/02/24 00:11:53 [WARN] [domain.com] acme: cleaning up failed: exec: exit status 1
2024/02/24 00:11:53 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/318727169577
2024/02/24 00:11:54 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/318727169587
2024/02/24 00:11:54 Could not obtain certificates:
error: one or more domains had a problem:
[*.domain.com] [*.domain.com] acme: error presenting token: exec: exit status 1
[domain.com] [domain.com] acme: error presenting token: exec: exit status 1
Failed to issue new certificate
I noticed that the renewal runs correctly when I remove the * entry for the domain in the domain zone in ovh, but then the redirection to subdomains does not work :/