Describe the bug
Things work as expected overall, but I get a warning, both on Mac Intel & Mac Silicon.
poetry run sslyze vagrant-$$REDACTED$$:443{192.168.33.14} --certinfo
/Users/thbar/Library/Caches/pypoetry/virtualenvs/ansible-REDACTED-py3.12/lib/python3.12/site-packages/sslyze/plugins/certificate_info/trust_stores/trust_store.py:55: CryptographyDeprecationWarning: Parsed a negative serial number, which is disallowed by RFC 5280. Loading this certificate will cause an exception in the next release of cryptography.
self._x509_store = Store(load_pem_x509_certificates(self.path.read_text().encode("ascii")))
To Reproduce
It appears I have a reproduction with non-vagrant domains as well:
❯ poetry run sslyze www.google.fr --certinfo
CHECKING CONNECTIVITY TO SERVER(S)
----------------------------------
www.google.fr:443 => 172.217.20.163
/Users/thbar/Library/Caches/pypoetry/virtualenvs/ansible-REDACTED-py3.12/lib/python3.12/site-packages/sslyze/plugins/certificate_info/trust_stores/trust_store.py:55: CryptographyDeprecationWarning: Parsed a negative serial number, which is disallowed by RFC 5280. Loading this certificate will cause an exception in the next release of cryptography.
self._x509_store = Store(load_pem_x509_certificates(self.path.read_text().encode("ascii")))
# SNIP
Expected behavior
Same output but without the warning.
Python environment (please complete the following information):
- OS: Mac OS Sonoma 14.5 (Silicon, but occurs on non-Silicon too)
- Python version: 3.12.2
Additional context
Happy to provide additional output if needed!
Describe the bug
Things work as expected overall, but I get a warning, both on Mac Intel & Mac Silicon.
To Reproduce
It appears I have a reproduction with non-vagrant domains as well:
Expected behavior
Same output but without the warning.
Python environment (please complete the following information):
Additional context
Happy to provide additional output if needed!