windows-powershell-docs
windows-powershell-docs copied to clipboard
Documentation is Wrong or Enable-WebCentralCertProvider has an issue
Prerequisites
- [X] Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
- [X] Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in
Get-Foo
cmdlet" instead of "Typo." - [X] Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.
Links
https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2019-ps/webadministration/Enable-WebCentralCertProvider.md
Summary
Documentation for Enable-WebCentralCertProvider states that you can pass PrivateKeyPassword argument as $null.
The truth is that both empty string or null is being ignored internally by this command (also affects Set-WebCentralCertProvider). You can now only set empty password when using the GUI as these commands do not work.
Details
No response
Suggested Fix
Either state in the docs that -PrivateKeyPassword does not support $null or empty passwords, or have the server team fix the cmdlet.