- Add an error when a user tries to use `-Credential` (legacy usage without `-Authentication`) or `-UseDefaultCredentials` over a non-HTTPS URI - User can bypass error with `-AllowUnencryptedAuthentication` - `-UseDefaultCredentials` can only be reliably tested on Windows as support on other platforms depends on a Kerberos infrastructure. - Add `/Auth/` tests to WebListener for challenge authentication Basic, Negotiate, and NTLM Incidentally, this increases test coverage for the web cmdlets as `-Credential` and `-UseDefaultCredentials` were not being tested. |
||
---|---|---|
.. | ||
ClientCert.pfx | ||
README.md | ||
ServerCert.pfx | ||
WebListener.psd1 | ||
WebListener.psm1 |
WebListener Module
A PowerShell module for managing the WebListener App. The included SelF-Signed Certificate ServerCert.pfx
has the password set to password
and is issued for the Client and Server Authentication key usages. This certificate is used by the WebListener App for SSL/TLS. The included SelF-Signed Certificate ClientCert.pfx
has the password set to password
and has not been issued for any specific key usage. This Certificate is used for Client Certificate Authentication with the WebListener App.
Running WebListener
Import-Module .\build.psm1
Publish-PSTestTools
$Listener = Start-WebListener -HttpPort 8083 -HttpsPort 8084
Stopping WebListener
Stop-WebListener