Subject Parameter (New-Certificate Cmdlet)

Specifies the subject of the certificate to create.

Syntax

New-Certificate -Subject string

Remarks

Should be the full subject of the new certificate.

The subject must be in the full distinguished name form. For instance a simple subject can be set like so:

-subject 'CN=MyCertificate'
Additional fields are separated by a comma. For instance:
-subject 'CN=MyCertificate, C=US, O=MyCompany, OU=MyUnit

Default Value

""

This is a required parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]