Skip to content

Commit cb63d5c

Browse files
committed
Fixes usage of wrong certutil if present in PATH instead of system32 binary
1 parent f32f8a4 commit cb63d5c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/100-General/10-Changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
1111

1212
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/32)
1313

14-
## 1.12.3 (tbd)
14+
## 1.12.3 (2024-04-24)
1515

1616
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/35)
1717

1818
### Bugfixes
1919

2020
* [#718](https://github.com/Icinga/icinga-powershell-framework/issues/718) Fixes Icinga repository JSON validator to report the correct state of the validation status, in case the JSON is not valid
21+
* [#724](https://github.com/Icinga/icinga-powershell-framework/issues/724) Fixes `icingaforwindows.pfx` creation in case another `certutil` is installed on the system and being available in the `PATH` environment
2122
* [#725](https://github.com/Icinga/icinga-powershell-framework/pull/725) Fixes Icinga for Windows certificate handling by keeping the .pfx file on the system as created, without using the certificate store. Also fixes handling for providing thumbprints for certificates, which are now loaded directly from the certificate store by also providing a new filter mechanic to fetch the proper certificates from the store
2223

2324
## 1.12.2 (2024-04-10)

lib/webserver/ConvertTo-IcingaX509Certificate.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function ConvertTo-IcingaX509Certificate()
3737
# it is a temp file or we force its creation
3838
if (-Not (Test-Path $TargetFile) -Or $TempFile -Or $Force) {
3939
Write-Output "$Password
40-
$Password" | certutil -mergepfx "$CertFile" "$TargetFile" | Set-Variable -Name 'CertUtilOutput';
40+
$Password" | & 'C:\Windows\system32\certutil.exe' -mergepfx "$CertFile" "$TargetFile" | Set-Variable -Name 'CertUtilOutput';
4141
}
4242

4343
Write-IcingaDebugMessage -Message (

0 commit comments

Comments
 (0)