We're updating the issue view to help you get more done. 

WebTestSetupFixtureHelper.VerifyWebApplicationStarted cannot handle invalid SSL Certificates

Description

While Selenium has a flag to ignore certificate issues (CustomChromeConfiguration.AcceptInsecureCertificates), WebTestSetupFixtureHelper.VerifyWebApplicationStarted will always fail if there are any.

System.Net.WebException : Checking the web application root 'https://localhost/AN_foundation_CH/web/Main.wxe' did not return 'OK' in the defined applicationPingTimeout (00:01:00). Failed with WebException 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'.
at Remotion.Web.Development.WebTesting.WebTestSetUpFixtureHelper.CheckTimeout(Uri webApplicationRoot, TimeSpan applicationPingTimeout, Stopwatch stopwatch, String failureReason) in C:\Build\44370e17582854ec\working\Remotion\Web\Development.WebTesting\WebTestSetUpFixtureHelper.cs:line 201
at Remotion.Web.Development.WebTesting.WebTestSetUpFixtureHelper.VerifyWebApplicationStarted(Uri webApplicationRoot, TimeSpan applicationPingTimeout) in C:\Build\44370e17582854ec\working\Remotion\Web\Development.WebTesting\WebTestSetUpFixtureHelper.cs:line 169
at Remotion.Web.Development.WebTesting.WebTestSetUpFixtureHelper.OnSetUp() in C:\Build\44370e17582854ec\working\Remotion\Web\Development.WebTesting\WebTestSetUpFixtureHelper.cs:line 118
at ActaNova.CH.WebTesting.Infrastructure.SetUpFixture.SetUp() in C:\Build\AN\AN\src\WebTestSelenium\CH\ActaNova.CH.WebTesting.Infrastructure\SetUpFixture.cs:line 58

If CustomChromeConfiguration.AcceptInsecureCertificates is set to true, WebTestSetupFixtureHelper.VerifyWebApplicationStarted should also ignore the certificate.

Assignee

Raffael Foidl

Reporter

SJ

Labels

None

Components

Fix versions

Affects versions

Priority

Normal
Configure