PowerShell/test/tools/Modules/WebListener
2021-08-30 13:56:52 -07:00
..
README.md Replace test certificates with self-signed certificate generating command (#7875) 2018-10-01 14:40:48 -07:00
WebListener.psd1 Adding CmdletsToExport and AliasesToExport to test module manifests. (#9108) 2019-03-18 11:09:05 +05:00
WebListener.psm1 Update Ubuntu images to use Ubuntu 20.04 (#15906) 2021-08-30 13:56:52 -07:00

WebListener Module

A PowerShell module for managing the WebListener App.

When the WebListener is started from this module, it will automatically generate two fresh certificates, ClientCert.pfx and ServerCert.pfx using the SelfSignedCertificate module.

The generated Self-Signed Certificate ServerCert.pfx has a randomly generated password and is issued for the Client and Server Authentication key usages. This certificate is used by the WebListener App for SSL/TLS.

The generated Self-Signed Certificate ClientCert.pfx has a randomly generated password and is not issued for any specific key usage. This Certificate is used for Client Certificate Authentication with the WebListener App. The port used for -HttpsPort will use TLS 1.2.

Running WebListener

Import-Module .\build.psm1
Publish-PSTestTools
$Listener = Start-WebListener -HttpPort 8083 -HttpsPort 8084 -Tls11Port 8085 -TlsPort 8086

Stopping WebListener

Stop-WebListener