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 2020// existing netsh bindings to restore after the benchmark run
2121if ( ! NetShWrapper . BindingExists ( httpsIpPort , out var originalCertThumbprint , out var originalAppId ) )
2222{
23- Console . WriteLine ( "WARNING: no binding existed, performing a new self-signed certificate generation and binding ..." ) ;
23+ Console . WriteLine ( "WARNING: no binding existed..." ) ;
2424 throw new ApplicationException ( $ "SslCert binding should exist for '{ httpsIpPort } ' before. Infrastructure error.") ;
2525}
2626
@@ -89,6 +89,7 @@ void OnShutdown()
8989 {
9090 NetShWrapper . DeleteBinding ( ipPort : httpsIpPort ) ;
9191 NetShWrapper . SetCertBinding ( ipPort : httpsIpPort , certThumbprint : originalCertThumbprint , appId : originalAppId ) ;
92+ NetShWrapper . Show ( ) ;
9293 }
9394 catch
9495 {
You can’t perform that action at this time.
0 commit comments