Request-Certificate
1.5.0
You must specify at least the CN for the subject name.
With the SAN parameter you can also specify values for subject alternative name to request a SAN certificate.
The CA must support this type of certifica
You must specify at least the CN for the subject name.
With the SAN parameter you can also specify values for subject alternative name to request a SAN certificate.
The CA must support this type of certificate otherwise the request will fail.
With the Export parameter it's also possible to export the requested certificate (with private key) directly to a .pfx file instead of storing it in the local computer store.
You can also use the Import-CSV cmdlet with Request-Certificate.ps1 to request multiple certificates.
To do this, use the Import-CSV cmdlet to create custom objects from a comma-separated value (CSV) file that contains a list of object properties (such as CN, SAN etc. ). Then pass these objects through the pipeline to Request-Certificate.ps1 to request the certificates.
Installation Options
Owners
Copyright
(c) 2020 Jonas Feller. All rights reserved.
Package Details
Author(s)
- Jonas Feller c/o J0F3
Tags
Certificate ActiveDirectory ActiveDirectoryCertificateServices Security
Functions
Remove-ReqTempfiles Remove-ReqFromStore
PSEditions
Dependencies
This script has no dependencies.
Release Notes
Kudos to jbpaux for contributing improvements and fixes on GitHub!
- New switch parameter "AddCNinSAN" to automatically populate SAN with the CN. (PR #15)
- Fixes an issue with naming ot the file when a wildcard (*) certificate is requested. (PR #14)
- Improved outputs when requesting SAN certificate. (PR #13)
- Fixes an issue where the request .inf file was not correctly formated when requesting a SAN certificate. (Kudos to smanross, PR #5)
FileList
- Request-Certificate.nuspec
- Request-Certificate.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.5.0 (current version) | 4,314 | 9/15/2020 |
1.4.1 | 1,497 | 2/3/2019 |
1.3 | 424 | 6/22/2016 |
1.2 | 30 | 6/22/2016 |