CertificateDsc

5.1.0

DSC resources for managing certificates on a Windows Server.

Minimum PowerShell version

4.0

Installation Options

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

Install-Module -Name CertificateDsc

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

Author(s)

DSC Community

Copyright

Copyright the DSC Community contributors. All rights reserved.

Owners

Tags

DesiredStateConfiguration DSC DSCResource Certificate PKI

DSCResources

CertificateExport CertificateImport CertReq PfxImport WaitForCertificateServices

Dependencies

This module has no dependencies.

Release Notes

## [5.1.0] - 2021-02-26

### Added

- PfxImport:
 - Added Base64Content parameter to specify the content of a PFX file that can
   be included in the configuration MOF - Fixes [Issue #241](https://github.com/dsccommunity/CertificateDsc/issues/241).
- CertificateImport:
 - Added Base64Content parameter to specify the content of a certificate file
   that can be included in the configuration MOF - Fixes [Issue #241](https://github.com/dsccommunity/CertificateDsc/issues/241).

### Changed

- Fix bug where `Import-PfxCertificateEx` would not install private keys in the
 ALLUSERSPROFILE path when importing to LocalMachine store. [Issue #248](https://github.com/dsccommunity/CertificateDsc/issues/248).
- Renamed `master` branch to `main` - Fixes [Issue #237](https://github.com/dsccommunity/CertificateDsc/issues/237).
- Updated `GitVersion.yml` to latest pattern - Fixes [Issue #245](https://github.com/dsccommunity/CertificateDsc/issues/245).
- Changed `Test-Thumbprint` to cache supported hash algorithms to increase
 performance - Fixes [Issue #221](https://github.com/dsccommunity/CertificateDsc/issues/221).
- Added warning messages into empty catch blocks in `Certificate.PDT` module to
 assist with debugging.

### Fixed

- Removed requirement for tests to use `New-SelfSignedCertificateEx` from
 [TechNet Gallery due to retirement](https://docs.microsoft.com/teamblog/technet-gallery-retirement).
 This will prevent tests from running on Windows Server 2012 R2 - Fixes [Issue #250](https://github.com/dsccommunity/CertificateDsc/issues/250).
- Fixed FIPS support when used in versions of PowerShell Core 6 & PowerShell 7.
- Moved thumbprint generation for testing into helper function `New-CertificateThumbprint`
 and fixed tests for validating FIPS thumbprints in `Test-Thumbprint` so that it
 runs on PowerShell Core/7.x.

Version History

Version Downloads Last updated
5.1.0 (current version) 870,849 2/26/2021
5.1.0-previe... 8 2/23/2021
5.1.0-previe... 12 2/19/2021
5.0.1-previe... 12 2/11/2021
5.0.1-previe... 20 12/31/2020
5.0.0 36,780 10/16/2020
5.0.0-previe... 10 8/30/2020
5.0.0-previe... 49 7/5/2020
5.0.0-previe... 34 5/22/2020
5.0.0-previe... 9 5/17/2020
5.0.0-previe... 34 4/1/2020
4.7.0.0 18,577,581 6/26/2019
4.6.0.0 10,906 5/15/2019
4.5.0.0 18,303 4/3/2019
4.4.0.0 35,985 2/20/2019
4.3.0.0 2,455 1/10/2019
4.2.0.0 6,503 9/5/2018
4.1.0.0 14,090 6/13/2018
4.0.0.0 122,675 5/3/2018