check-tls-certs
check-tls-certs copied to clipboard
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?