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

- Added a CODE_OF_CONDUCT.md with the same content as in the README.md - fixes
 [Issue 139](https://github.com/PowerShell/CertificateDsc/issues/139).
- Refactored module folder structure to move resource to root folder of
 repository and remove test harness - fixes [Issue 142](https://github.com/PowerShell/CertificateDsc/issues/142).
- Updated Examples to support deployment to PowerShell Gallery scripts.
- Correct configuration names in Examples - fixes [Issue 150](https://github.com/PowerShell/CertificateDsc/issues/150).
- Correct filename case of `CertificateDsc.Common.psm1` - fixes [Issue 149](https://github.com/PowerShell/CertificateDsc/issues/149).
- Remove exclusion of all tags in appveyor.yml, so all common tests can be run
 if opt-in.
- PfxImport:
 - Added requirements to README.MD to specify cryptographic algorithm
   support - fixes [Issue 153](https://github.com/PowerShell/CertificateDsc/issues/153).
 - Changed Path parameter to be optional to fix error when ensuring certificate
   is absent and certificate file does not exist on disk - fixes [Issue 136](https://github.com/PowerShell/CertificateDsc/issues/136).
 - Removed ShouldProcess because it is not required by DSC Resources.
 - Minor style corrections.
 - Changed unit tests to be non-destructive.
 - Improved naming and description of example files.
 - Added localization string ID suffix for all strings.
- Added .VSCode settings for applying DSC PSSA rules - fixes [Issue 157](https://github.com/PowerShell/CertificateDsc/issues/157).


Version History

Version Downloads Last updated
6.0.0-previe... 90 12/23/2022
5.1.0 5,525,525 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,197 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 (current version) 6,565 9/5/2018 14,150 6/13/2018 122,728 5/3/2018
Show less