File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
tests/plugins_tests/certificate_info Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -190,11 +190,14 @@ def test_multiple_certificates(self):
190190 # And multiple certificates were detected
191191 assert len (plugin_result .certificate_deployments ) > 1
192192
193+ @can_only_run_on_linux_64
193194 def test_ipv6_server_string (self ):
194- # Given a server to scan for which SSLyze only received an IPv6 address
195195 # Test for https://github.com/nabla-c0d3/sslyze/issues/675
196- server_location = ServerNetworkLocation ("2a00:1450:4007:80d::200e" , 443 , ip_address = "2a00:1450:4007:80d::200e" )
197- server_info = check_connectivity_to_server_and_return_info (server_location )
196+ # Given a server to scan
197+ with ModernOpenSslServer (client_auth_config = ClientAuthConfigEnum .REQUIRED ) as server :
198+ # For which SSLyze only received an IPv6 address, no hostname
199+ server_location = ServerNetworkLocation (hostname = "::1" , port = server .port , ip_address = "::1" )
200+ server_info = check_connectivity_to_server_and_return_info (server_location )
198201
199202 # When running the scan, it succeeds
200203 plugin_result = CertificateInfoImplementation .scan_server (server_info )
You can’t perform that action at this time.
0 commit comments