File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/BenchmarksApps/TLS/HttpSys Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 20
20
// existing netsh bindings to restore after the benchmark run
21
21
if ( ! NetShWrapper . BindingExists ( httpsIpPort , out var originalCertThumbprint , out var originalAppId ) )
22
22
{
23
- Console . WriteLine ( "WARNING: no binding existed, performing a new self-signed certificate generation and binding ..." ) ;
23
+ Console . WriteLine ( "WARNING: no binding existed..." ) ;
24
24
throw new ApplicationException ( $ "SslCert binding should exist for '{ httpsIpPort } ' before. Infrastructure error.") ;
25
25
}
26
26
@@ -89,6 +89,7 @@ void OnShutdown()
89
89
{
90
90
NetShWrapper . DeleteBinding ( ipPort : httpsIpPort ) ;
91
91
NetShWrapper . SetCertBinding ( ipPort : httpsIpPort , certThumbprint : originalCertThumbprint , appId : originalAppId ) ;
92
+ NetShWrapper . Show ( ) ;
92
93
}
93
94
catch
94
95
{
You can’t perform that action at this time.
0 commit comments