Commit Graph

5 Commits

Author SHA1 Message Date
d76e384ae3 Enhance CertUtils to return the newest matching certificate and add comprehensive unit tests
- Added run_openssl_dates() to extract notBefore/notAfter timestamps.
- Modified mapping logic to store multiple cert entries per SAN with metadata.
- find_cert_for_domain() now selects the newest certificate based on notBefore and mtime.
- Exact SAN matches take precedence over wildcard matches.
- Added new unit tests (test_cert_utils_newest.py) verifying freshness logic, fallback handling, and wildcard behavior.

Reference: https://chatgpt.com/share/68ef4b4c-41d4-800f-9e50-5da4b6be1105
2025-10-15 09:21:00 +02:00
90f9d97c54 Last SAN optimations 2025-04-29 06:37:12 +02:00
d38d4204f8 Optimized cert speed, testing etc. 2025-04-29 05:16:55 +02:00
c950862b80 Solved wildcard redirect bug 2025-04-29 03:28:29 +02:00
e5e394d470 Optimized cloudflare implementation 2025-04-29 02:20:10 +02:00