File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/de/rub/nds/tlsscanner/probe Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public ProbeResult executeTest() {
5757 tlsConfig .setDefaultClientSupportedCiphersuites (toTestList );
5858 tlsConfig .setStopActionsAfterFatal (true );
5959 Certificate serverCert = CertificateFetcher .fetchServerCertificate (tlsConfig );
60- CertificateChain chain = new CertificateChain (serverCert , getScannerConfig ().getClientDelegate ().getHost ());
60+ CertificateChain chain = new CertificateChain (serverCert , getScannerConfig ().getClientDelegate ().getSniHostname ());
6161 return new CertificateResult (getType (), chain , serverCert );
6262 }
6363
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ public ProbeResult executeTest() {
5454 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
5555 ClientDelegate delegate = (ClientDelegate ) invalidCurveAttackConfig .getDelegate (ClientDelegate .class );
5656 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
57+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
5758 InvalidCurveAttacker attacker = new InvalidCurveAttacker (invalidCurveAttackConfig , invalidCurveAttackConfig .createConfig ());
5859 vulnerableEphemeral = attacker .isVulnerable ();
5960 }
You can’t perform that action at this time.
0 commit comments