Open
Description
Can we include some documentation for the -subjectname parameter indicating that it must be in the format: CN=subject? If only a name is provided, the following error is generated:
Get-Certificate : CertEnroll::CX500DistinguishedName::Encode: The string contains an invalid X500 name attribute key, oid, value or delimiter. 0x80092023 (-2146885597 CRYPT_E_INVALID_X500_STRING)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 2041626f-8219-7a20-f594-f8a555207dee
- Version Independent ID: aa1fdc8e-c46e-2318-acb1-e4434de8ebb7
- Content: Get-Certificate (pki)
- Content Source: docset/winserver2022-ps/pki/Get-Certificate.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend