Skip to content

Commit 83e8b5a

Browse files
committed
[#710]Fix list of cipher suites used for retrieving RSA certificates
1 parent 752af2c commit 83e8b5a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

sslyze/plugins/certificate_info/implementation.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,15 @@ def scan_jobs_for_scan_command(
8383
# Get the default certificate chain sent to clients using TLS 1.3
8484
call_arguments.append((server_info, custom_ca_file, TlsVersionEnum.TLS_1_3, None, True))
8585

86-
# Get the other certificate chains sent to clients using TLS 1.2 that support or don't support RSA
87-
call_arguments.append((server_info, custom_ca_file, TlsVersionEnum.TLS_1_2, "RSA", True))
88-
call_arguments.append((server_info, custom_ca_file, TlsVersionEnum.TLS_1_2, "ALL:-RSA", True))
86+
# Get the other certificate chains sent to clients using TLS 1.2 that support
87+
# or don't support RSA for authentication
88+
call_arguments.append((server_info, custom_ca_file, TlsVersionEnum.TLS_1_2, "aRSA", True))
89+
call_arguments.append((server_info, custom_ca_file, TlsVersionEnum.TLS_1_2, "ALL:-aRSA", True))
8990
else:
90-
# Get the certificate chains sent to clients that support or don't support RSA
91+
# Get the certificate chains sent to clients that support or don't support RSA for authentication
9192
call_arguments.append((server_info, custom_ca_file, None, None, True))
92-
call_arguments.append((server_info, custom_ca_file, None, "RSA", True))
93-
call_arguments.append((server_info, custom_ca_file, None, "ALL:-RSA", True))
93+
call_arguments.append((server_info, custom_ca_file, None, "aRSA", True))
94+
call_arguments.append((server_info, custom_ca_file, None, "ALL:-aRSA", True))
9495

9596
# Additionally, get the default certificate chain sent to clients without SNI
9697
call_arguments.append((server_info, custom_ca_file, None, None, False))

0 commit comments

Comments
 (0)