MicrosoftDocs / windows-powershell-docs

This repo is used to contribute to Windows 10, Windows Server 2016, and MDOP PowerShell module documentation.
Creative Commons Attribution 4.0 International
441 stars 592 forks source link

Documentation is Wrong or Enable-WebCentralCertProvider has an issue #3744

Open david-garcia-garcia opened 7 months ago

david-garcia-garcia commented 7 months ago

Prerequisites

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.