This module includes DSC resources that simplify administration of certificates on a Windows Server

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name xCertificate -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


(c) 2015 Microsoft Corporation. All rights reserved.



DesiredStateConfiguration DSC DSCResourceKit DSCResource


xCertificateExport xCertificateImport xCertReq xPfxImport xWaitForCertificateServices


This module has no dependencies.

Release Notes

- xCertReq:
 - Added FriendlyName parameter to xCertReq.
 - Changed exceptions to be raised using New-InvalidOperationException from PSDscResources.
 - Changed integration tests to use Config Data instead of value in config to support
   additional tests.
 - Converted unit tests to use Get-InvalidOperationRecord in CommonTestHelper.
 - Improved unit test style to match standard layout.
 - Minor corrections to style to be HQRM compliant.
 - Improved Verbose logging by writing all lines of CertReq.exe output.
 - Fixed CA auto-detection to work when CA name contains a space.
- Corrected all makrdown rule violations in README.MD.
- Added markdownlint.json file to enable line length rule checking in VSCode
 with [MarkdownLint extension](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint)
- Added the VS Code PowerShell extension formatting settings that cause PowerShell
 files to be formatted as per the DSC Resource kit style guidelines.
- Fixed verbose preference not being passed to CertificateDsc.Common functions -
 fixes [Issue 70](https://github.com/PowerShell/xCertificate/issues/70).
- Converted all calls to `New-InvalidArgumentError` function to `New-InvalidArgumentException`
 found in `CertificateDsc.ResourceHelper` - fixes [Issue 68](https://github.com/PowerShell/xCertificate/issues/68)
- Replaced all calls to `Write-Error` with calls to `New-InvalidArgumentException`
 and `New-InvalidOperationException`
- xWaitForCertificateServices:
 - Added new resource.
- Cleaned up example format to meet style guidelines and changed examples to
 issue 2048 bit certificates.
- Fixed spelling error in xCertificateExport Issuer parameter description.

Version History

Version Downloads Last updated 8,591,893 2/8/2018 6,192,149 12/20/2017 8,542 8/23/2017 (current version) 21,085 7/12/2017 3,474 6/1/2017 2,777 5/31/2017 46,106 4/19/2017 14,181 3/8/2017 6,865 12/14/2016 3,188 11/2/2016 5,458 6/29/2016 903 5/18/2016 3,214 12/3/2015 1,134 7/24/2015 107 6/17/2015