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 deploy 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.

Package Details



DesiredStateConfiguration DSC DSCResourceKit DSCResource


CertificateExport CertificateImport CertReq PfxImport WaitForCertificateServices


This module has no dependencies.

Release Notes

- PfxImport:
 - Changed so that PFX will be reimported if private key is not
   installed - fixes [Issue 129](https://github.com/PowerShell/CertificateDsc/issues/129).
 - Corrected to meet style guidelines.
 - Corrected path parameter description - fixes [Issue 125](https://github.com/PowerShell/CertificateDsc/issues/125).
 - Refactored to remove code duplication by creating Get-CertificateStorePath.
 - Improved unit tests to meet standards and provide better coverage.
 - Improved integration tests to meet standards and provide better coverage.
- CertificateDsc.Common:
 - Corrected to meet style guidelines.
 - Added function Get-CertificateStorePath for generating Certificate Store path.
 - Remove false verbose message from `Test-Thumbprint` - fixes [Issue 127](https://github.com/PowerShell/CertificateDsc/issues/127).
- CertReq:
 - Added detection for FIPS mode in Test-Thumbprint - fixes [Issue 107](https://github.com/PowerShell/CertificateDsc/issues/107).


Version History

Version Downloads Last updated
6.0.0-previe... 90 12/23/2022
5.1.0 5,525,584 2/26/2021
5.1.0-previe... 39 2/23/2021
5.1.0-previe... 44 2/19/2021
5.0.1-previe... 43 2/11/2021
5.0.1-previe... 51 12/31/2020
5.0.0 87,199 10/16/2020
5.0.0-previe... 40 8/30/2020
5.0.0-previe... 82 7/5/2020
5.0.0-previe... 66 5/22/2020
5.0.0-previe... 40 5/17/2020
5.0.0-previe... 66 4/1/2020 18,582,065 6/26/2019 11,328 5/15/2019 18,353 4/3/2019 36,083 2/20/2019 2,510 1/10/2019 6,565 9/5/2018 (current version) 14,150 6/13/2018 122,728 5/3/2018
Show less