Create a new Certificate Signing Request with EnhancedKeyUsages of "Server Authentication" and "Client Authentication".
[String]
CommonName The CommonName for the certificate SubjectName. Mandatory[String]
Organization The Organization (O) for the certificate SubjectName.[String]
OrganizationalUnit The OrganizationalUnit (OU) for the certificate SubjectName.[String]
Locality The Locality (L) for the certificate SubjectName.[String]
State The State (S) or ProvinceName for the certificate SubjectName.[String]
CountryCode The CountryCode (C) or Region for the certificate SubjectName.[String[]]
SubjectAlternativeNames A list of SAN DNS Names.[Int32]
RSAKeyLength Generate and use an RSA key pair of this size for the certificate.[String]
Path A directory path to store the Key and CSR PEM files. Default is the current directory.[Switch]
PassThru Optionally send the CSR PEM content to the pipeline.
[String]
CommonName The CommonName for the certificate SubjectName. Mandatory[String]
Organization The Organization (O) for the certificate SubjectName.[String]
OrganizationalUnit The OrganizationalUnit (OU) for the certificate SubjectName.[String]
Locality The Locality (L) for the certificate SubjectName.[String]
State The State (S) or ProvinceName for the certificate SubjectName.[String]
CountryCode The CountryCode (C) or Region for the certificate SubjectName.[String[]]
SubjectAlternativeNames A list of SAN DNS Names.[Switch]
ECDSAKey Generate and use an ECDSA key pair for the certifice. Not yet implemented.[String]
Path A directory path to store the Key and CSR PEM files. Default is the current directory.[Switch]
PassThru Optionally send the CSR PEM content to the pipeline.
This command will write a .csr
and .key
file to $Path
.
The Key is not encrypted. Ensure it is stored in a secure location.
string