More alternate names than specified/The requested domain doesn't match the certificate domain
HI there We are using wildcard domains, but the check started failing domain1.tv, www.domain1.tv Issued by: Amazon RSA 2048 M03 Valid until 2025-01-31 23:59:59 (224 days, 2:21:00). More alternate names than specified *.domain1.tv. content-api.domain2.mobi Validation error '[10, 1, 'certificate has expired']'. Issued by: E1 Valid until 2024-08-11 00:28:33 (50 days, 2:50:00). Alternate names in certificate: domain2.mobi, *.domain2.mobi The requested domain content-api.domain2.mobi doesn't match the certificate domain domain2.mobi. 2 error(s), 1 warning(s)
If I do
check_tls_certs *.domain1.tv
Traceback (most recent call last):
File "/usr/local/bin/check_tls_certs", line 11, in
how do i use it with SAN and wildcard?
Currently wildcard certificates aren't supported. It shouldn't be too hard to add, but I currently don't have time for it. I personally use it with Let's Encrypt only. I'm not sure whether they have wildcard support by now so I could test it. You could send me your actual domains privately via email, so I could test it when I get to it.
Thank you Letsencrypt support wildcard domains as well But let me send you couple domains we check privately
Could you test my latest push? The problem was, that the wildcard domain was in the list of alternate names and not the common name of the certificate. This is now supported.