Skip to content

dsccommunity/CertificateDsc

Repository files navigation

CertificateDsc

Build Status Code Coverage Azure DevOps tests PowerShell Gallery (with prereleases) PowerShell Gallery codecov

Code of Conduct

This project has adopted this code of conduct.

Releases

For each merge to the branch main a preview release will be deployed to PowerShell Gallery. Periodically a release version tag will be pushed which will deploy a full release to PowerShell Gallery.

Contributing

Please check out common DSC Community contributing guidelines.

Change log

A full list of changes in each version can be found in the change log.

Resources

The CertificateDsc module is a part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit, which is a collection of DSC Resources. This module includes DSC resources that simplify administration of certificates on a Windows Server, with simple declarative language.

The CertificateDsc module contains the following resources:

  • CertificateExport: Used to export a certificate from a Windows certificate store.
  • CertificateImport: Used to import a certificate into a Windows certificate store.
  • CertReq: Used to request a new certificate from an certificate authority.
  • PfxImport: Used to import a PFX certificate into a Windows certificate store.
  • WaitForCertificateServices: Used to wait for a Active Directory Certificate Services Certificate Authority to become available.

This project has adopted this code of conduct.

Documentation and Examples

For a full list of resources in CertificateDsc and examples on their use, check out the CertificateDsc wiki.

Operating Systems

These resources are automatically tested on Windows Server 2016 and Windows Server 2019.

The resources should still work on Windows Server 2012 R2 and older operating systems, but are will no longer be updated to work with these older versions. The tests do not work on Windows Server 2012 R2 and older operating systems because of the missing features in the New-SelfSignedCertificate function.