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

Minimum PowerShell version


There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name CertificateDsc -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) 2018 Microsoft Corporation. All rights reserved.



DesiredStateConfiguration DSC DSCResourceKit DSCResource


CertificateExport CertificateImport CertReq PfxImport WaitForCertificateServices


This module has no dependencies.

Release Notes

- Updated certificate import to only use Import-CertificateEx - fixes [Issue 161](https://github.com/PowerShell/CertificateDsc/issues/161)
- Update LICENSE file to match the Microsoft Open Source Team standard -fixes
 [Issue 164](https://github.com/PowerShell/CertificateDsc/issues/164).
- Opted into Common Tests - fixes [Issue 168](https://github.com/PowerShell/CertificateDsc/issues/168):
 - Required Script Analyzer Rules
 - Flagged Script Analyzer Rules
 - New Error-Level Script Analyzer Rules
 - Custom Script Analyzer Rules
 - Validate Example Files To Be Published
 - Validate Markdown Links
 - Relative Path Length
- CertificateExport:
 - Fixed bug causing PFX export with matchsource enabled to fail - fixes
   [Issue 117](https://github.com/PowerShell/CertificateDsc/issues/117)

Version History

Version Downloads Last updated
5.0.0-previe... 0 5/22/2020
5.0.0-previe... 4 5/17/2020
5.0.0-previe... 29 4/1/2020 9,389,882 6/26/2019 10,366 5/15/2019 17,699 4/3/2019 35,964 2/20/2019 (current version) 2,409 1/10/2019 6,416 9/5/2018 13,900 6/13/2018 122,383 5/3/2018
Show less