You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/sslyze/scanner.py", line 264, in get_results
result = implementation_cls.result_for_completed_scan_jobs(
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/sslyze/plugins/certificate_info/implementation.py", line 127, in result_for_completed_scan_jobs
analysis_result = deployment_analyzer.perform()
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/sslyze/plugins/certificate_info/_cert_chain_analyzer.py", line 176, in perform
current_subject = cert.subject
File "/opt/rh/rh-python38/root/usr/local/lib64/python3.8/site-packages/cryptography/hazmat/backends/openssl/x509.py", line 101, in subject
return _decode_x509_name(self._backend, subject)
File "/opt/rh/rh-python38/root/usr/local/lib64/python3.8/site-packages/cryptography/hazmat/backends/openssl/decode_asn1.py", line 64, in _decode_x509_name
attribute = _decode_x509_name_entry(backend, entry)
File "/opt/rh/rh-python38/root/usr/local/lib64/python3.8/site-packages/cryptography/hazmat/backends/openssl/decode_asn1.py", line 55, in _decode_x509_name_entry
return x509.NameAttribute(x509.ObjectIdentifier(oid), value, type)
File "/opt/rh/rh-python38/root/usr/local/lib64/python3.8/site-packages/cryptography/x509/name.py", line 95, in __init__
raise ValueError(
ValueError: Country name must be a 2 character country code
To Reproduce
Install SSLyze using: pip
Run the following command: /opt/rh/rh-python38/root/usr/bin/python3.8 -m sslyze --regular
Expected behavior
Successful scan
Python environment (please complete the following information):
OS: Red Hat Enterprise Linux Server release 7.9 (Maipo)
Python version: 3.8
SSLyze: 4.0.2
The text was updated successfully, but these errors were encountered:
nabla-c0d3
changed the title
Certificate_info BUG_IN_SSLYZE
"Country name must be a 2 character country code" when running certificate_info
Feb 13, 2021
Describe the bug
To Reproduce
Install SSLyze using: pip
Run the following command: /opt/rh/rh-python38/root/usr/bin/python3.8 -m sslyze --regular
Expected behavior
Successful scan
Python environment (please complete the following information):
OS: Red Hat Enterprise Linux Server release 7.9 (Maipo)
Python version: 3.8
SSLyze: 4.0.2
The text was updated successfully, but these errors were encountered: