Skip to content
Open
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
4c4f900
Initial JEA for WinCert
Apr 24, 2026
c45ef24
Update generated docs
Apr 24, 2026
585fd7f
Helper updates
Apr 24, 2026
aa2e660
Merge branch '81018-Adding_JEA_Support' of https://github.com/Keyfact…
Apr 24, 2026
3d8180a
Updated spelling of PowerShell script and fixed Information Messages …
Apr 27, 2026
59d239f
Added JEA support for IIS
Apr 28, 2026
d3a92d4
Fixed and updated IIS Components
Apr 28, 2026
355c3ac
Completed SQL Module and updated test projects
Apr 30, 2026
c38621d
Testing
May 1, 2026
0643435
Removed WinCertScripts from extension.
May 6, 2026
a9cd833
changed way LocalHost and JEA are configured.
May 6, 2026
0c432a9
Fixed ODKG missing file error
May 6, 2026
eca4c19
Updated KF Import of Signed Certificates PowerShell Script
May 7, 2026
f9bd02b
Fixed missing PowerShell script not being found.
May 11, 2026
df9ddcf
Fix missing path
May 11, 2026
8ad923c
Updated documentation to include JEA information.
May 11, 2026
4094f15
Update generated docs
May 11, 2026
9e102ea
chore(ci): Update build workflow to v5
spbsoluble May 12, 2026
2158f3c
docs: auto-generate README and documentation [skip ci]
github-actions[bot] May 12, 2026
f85f910
Update generated docs
spbsoluble May 12, 2026
fb4031a
docs: auto-generate README and documentation [skip ci]
github-actions[bot] May 12, 2026
d9fbee8
docs: auto-generate README and documentation [skip ci]
github-actions[bot] May 12, 2026
89f92f0
Adding dotnet 10 support
May 13, 2026
0413000
modified: IISU/PowerShell/Build/KeyfactorWinCert.pssc
May 13, 2026
51dca80
Merge branch '81018-Adding_JEA_Support' of https://github.com/Keyfact…
May 13, 2026
6395a23
docs: auto-generate README and documentation [skip ci]
github-actions[bot] May 13, 2026
aa8d504
Updated packages to support dotnet 10
May 13, 2026
cdcc1d2
Merge branch '81018-Adding_JEA_Support' of https://github.com/Keyfact…
May 13, 2026
43035b7
Updating Unit Tests
May 13, 2026
9197a2c
Fixed timeout issue when migrating to dotnet 10
May 13, 2026
a85707d
modified: IISU/PSHelper.cs
May 13, 2026
fb7444c
Remove .net6 libraries and support
May 13, 2026
6b3a95a
docs: auto-generate README and documentation [skip ci]
github-actions[bot] May 13, 2026
467ed39
#86137 Cleaned up messages returned to Command
May 15, 2026
5fba9a8
Merge branch '81018-Adding_JEA_Support' of https://github.com/Keyfact…
May 15, 2026
9418667
Updated language for WinSQL binding concerns
May 15, 2026
7f1cac9
docs: auto-generate README and documentation [skip ci]
github-actions[bot] May 15, 2026
cd9a401
Updated JEA Documentation
Jun 18, 2026
8397532
docs: auto-generate README and documentation [skip ci]
github-actions[bot] Jun 18, 2026
8720d89
Added diagnostic cmdlet
Jun 25, 2026
970a9a8
Updated the JEA documentation. Added the get-keyfactordiagnostics cm…
Jun 26, 2026
5479921
Merge branch '81018-Adding_JEA_Support' of github.com:Keyfactor/iis-o…
Jun 26, 2026
3fe25ef
docs: auto-generate README and documentation [skip ci]
github-actions[bot] Jun 26, 2026
e0da7d4
Potential fix for pull request finding
rcpokorny Jun 26, 2026
bc07ae8
Updated error reporting when bad CSP
Jul 1, 2026
e38da14
Updated PS scripts to get CSPs from registry not certutil.
Jul 6, 2026
7250263
docs: auto-generate README and documentation [skip ci]
github-actions[bot] Jul 6, 2026
db4b068
Fixed formatting issue in CHANGELOG
Jul 6, 2026
895719a
Updated the Get-KeyfactorIISBoundCertificates.ps1 script to include s…
Jul 14, 2026
226dcb3
docs: auto-generate README and documentation [skip ci]
github-actions[bot] Jul 14, 2026
3825af5
Changes to be committed:
Jul 15, 2026
8405f5e
Updated PowerShell initialization to check for appropriate permission…
Jul 16, 2026
c1f1649
Fixed null error when testing for admin
Jul 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/keyfactor-starter-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
call-starter-workflow:
uses: keyfactor/actions/.github/workflows/starter.yml@v4
uses: keyfactor/actions/.github/workflows/starter.yml@v5
with:
command_token_url: ${{ vars.COMMAND_TOKEN_URL }} # Only required for doctool generated screenshots
command_hostname: ${{ vars.COMMAND_HOSTNAME }} # Only required for doctool generated screenshots
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# Local test credentials (never commit)
local.runsettings

# User-specific files
*.rsuser
*.suo
Expand Down
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "PowerShell: Launch Script",
"type": "PowerShell",
"request": "launch",
"script": "${file}",
"args": []
}
]
}
101 changes: 72 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,66 @@
4.0.0

* As of this version of the extension, SANs will be handled through the ODKG Enrollment page in Command and will no longer use the SAN Entry Parameter. This version, we are removing all support for the SAN Entry Parameter. If you are still using the SAN Entry Parameter, you will need to remove it from your store types and re-run inventory to remove it from your database.
* Adding JEA Support for local PowerShell execution. This will allow for more secure execution of the extension when running in a local PowerShell Runspace. To utilize this feature, you will need to create a JEA endpoint on the target server and specify the endpoint name as a new parameter in the specific Cert Store definition. Refer to the README for more details.
* .NET6 assemblies are no longer supported.
* Fixed a problem when passing a bad CSP, the job was reporting successful, but did not actually add/bind the certificate.
* Enhanced Crypto Service Provider (CSP) discovery and validation to work correctly on localized Windows installations. Customers running Traditional Chinese Windows (zh-TW / CP950) reported that certificate add jobs were failing with "Crypto Service Provider ... is either invalid or not found on this system." even when the requested CSP was installed. The root cause was that `Get-CryptoProviders` parsed `certutil -csplist` output and matched on the literal English label "Provider Name:", which is translated on non en-US Windows, causing the enumerated provider list to come back empty and every CSP name to fail validation. Provider enumeration now reads from the culture-invariant registry hive `HKLM:\SOFTWARE\Microsoft\Cryptography\Defaults\Provider` (with a code-page-safe `certutil` fallback for hardened systems where the registry hive is unavailable), and CSP name matching in `Validate-CryptoProvider` now uses ordinal, case-insensitive comparison so results are unaffected by the current thread culture (Turkish-I folding, full-/half-width character folding, etc.).

3.0.2

* Fixed SQL service restart behavior: previously the extension could stop multiple SQL services and fail to start all of them. It now restarts only the SQL service associated with the certificate being renewed.

3.0.1
* Fixed an issues when renewing ECC Certificates

* Fixed an issues when renewing ECC Certificates

3.0.0

* As of this version of the extension, SANs will be handled through the ODKG Enrollment page in Command, and will no longer use the SAN Entry Parameter. This version, we are removing the Entry Parameter "SAN" from the integration-manifest.json, but will still support previous versions of Command in the event the SAN Entry Parameter is passed. The next major version (4.0) will remove all support for the SAN Entry Parameter.
* Added WinADFS Store Type for rotating certificates in ADFS environments. Please note, only the service-communications certificate is rotated throughout your farm.
* Internal only: Added Integration Tests to aid in future development and testing.
* Improved messaging in the event an Entry Parameter is missing (or does not meet the casing requirements)
* Fixed the SNI/SSL flag being returned during inventory, now returns extended SSL flags
* Fixed the SNI/SSL flag when binding the certificate to allow for extended SSL flags
* Added SSL Flag validation to make sure the bit flag is correct. These are the valid bit flags for the version of Windows:
### Windows Server 2012 R2 / Windows 8.1 and earlier (IIS 8.5):
* 0 No SNI
* 1 Use SNI
* 2 Use Centralized SSL certificate store.
### Windows Server 2012 R2 / Windows 8.1 and earlier (IIS 8.5)

* 0 No SNI
* 1 Use SNI
* 2 Use Centralized SSL certificate store.

### Windows Server 2016 (IIS 10.0)

### Windows Server 2016 (IIS 10.0):
* 0 No SNI
* 1 Use SNI
* 4 Disable HTTP/2.
* 0 No SNI
* 1 Use SNI
* 4 Disable HTTP/2.

### Windows Server 2019 (IIS 10.0.17763)
* 0 No SNI
* 1 Use SNI
* 4 Disable HTTP/2.
* 8 Disable OCSP Stapling.

* 0 No SNI
* 1 Use SNI
* 4 Disable HTTP/2.
* 8 Disable OCSP Stapling.

### Windows Server 2022+ (IIS 10.0.20348+)
* 0 No SNI
* 1 Use SNI
* 4 Disable HTTP/2.
* 8 Disable OCSP Stapling.
* 16 Disable QUIC.
* 32 Disable TLS 1.3 over TCP.
* 64 Disable Legacy TLS.

* 0 No SNI
* 1 Use SNI
* 4 Disable HTTP/2.
* 8 Disable OCSP Stapling.
* 16 Disable QUIC.
* 32 Disable TLS 1.3 over TCP.
* 64 Disable Legacy TLS.

2.6.4

* Fixed an issue with SSL Flags greater than 3 were not being applied correctly to newer IIS servers.
* Fixed an issue when formatting private RSA keys when connecting using the ssh protocol.
* When using ssh protocol in containers, the SQL ACL on private keys was not being updating correctly. This has been fixed.
* Updated documentation to indicate that the username and password fields on the Cert Store are automatically added by Command.

2.6.3

* Fixed re-enrollment or ODKG job when RDN Components contained escaped commas.
* Updated renewal job for IIS Certs to delete the old cert if not bound or used by other web sites.
* Improved Inventory reporting of CSP when cert uses newer CNG Keys.
Expand All @@ -51,23 +71,25 @@
* Fixed an issue with (remote) ODKG jobs that caused an error when the CSP was not specified that did not require binding.

2.6.2

* Fixed error when attempting to connect to remote computer using UO service account
* Fixed error when connecting to remote computer using HTTPS; was defaulting to HTTP
* Fixed the creation of a certificate when the Cryptographic Service Provider was changed by the user
* Updated logic when getting the CSP. Now supports modern CHG and legacy CAPI APIs. This will allow the CSP to show in the stores inventory.
* Re-factored code to eliminate warnings
* Bumped up he following packages to eliminate .net vulnerabilities and obsolete packages:
* Keyfactor.Orchestrators.IOrchestratorJobExtensions" Version="1.0.0"
* Keyfactor.Orchestrators.IOrchestratorJobExtensions" Version="1.0.0"
* Microsoft.PowerShell.SDK" Version="7.4.10" Condition="'$(TargetFramework)' == 'net8.0'"
* runtime.linux-arm64.runtime.native.System.IO.Ports" Version="9.0.5"
* runtime.osx-arm64.runtime.native.System.IO.Ports" Version="9.0.5"
* System.Formats.Asn1" Version="8.0.2" Condition="'$(TargetFramework)' == 'net6.0'"
* System.Formats.Asn1" Version="9.0.0" Condition="'$(TargetFramework)' == 'net8.0'"
* System.Formats.Asn1" Version="9.0.0" Condition="'$(TargetFramework)' == 'net8.0'"
* System.IO.Packaging" Version="6.0.2" Condition="'$(TargetFramework)' == 'net6.0'"
* System.IO.Packaging" Version="8.0.1" Condition="'$(TargetFramework)' == 'net8.0'"
* System.Text.Json" Version="8.0.5"

2.6.1

* Documentation updates for the 2.6 release
* Fix a naming typo in the 2.5 migration SQL script
* Update integration-manifest.json
Expand All @@ -77,16 +99,19 @@
* Bumped System.IO.Packaging to 6.0.2 & 8.0.1 for .Net vulnerabilities.

2.6.0

* Added the ability to run the extension in a Linux environment. To utilize this change, for each Cert Store Types (WinCert/WinIIS/WinSQL), add ssh to the Custom Field <b>WinRM Protocol</b>. When using ssh as a protocol, make sure to enter the appropriate ssh port number under WinRM Port.
* NOTE: For legacy purposes the Display names WinRM Protocol and WinRM Port are maintained although the type of protocols now includes ssh.
* Moved all inventory and management jobs to external PowerShell script file .\PowerShellScripts\WinCertScripts.ps1
* Changed how IIS Bound certificates are deleted; Certificates are only deleted from the certificate store when the certificate is NOT BOUND to any other sites.
* NOTE: This version was not publicly released.

2.5.1

* Fixed WinSQL service name when InstanceID differs from InstanceName

2.5.0

* Added the Bindings to the end of the thumbprint to make the alias unique.
* Using new IISWebBindings cmdlet to use additional SSL flags when binding certificate to website.
* NOTE: The property SNIFlag has changed from a multi-select to a string with default of "0". To properly use the new SNI/SSL flags you can delete the SNIFlag from the store type and re-add the field as described in the ReadMe. If you have several existing cert stores, you may can execute the SQL script (IISU Sni Flag 2.5 upgrade script) to update the field type. Consult your Keyfactor Rep for help.
Expand All @@ -96,89 +121,107 @@
* Removed renewal thumbprint logic to update multiple website; each job now updates its own specific certificate.

2.4.4

* Fix an issue with WinRM parameters when migrating Legacy IIS Stores to the WinCert type
* Fix an issue with "Delete" script in the Legacy IIS Migration that did not remove some records from dependent tables

2.4.3

* Adding Legacy IIS Migration scripting and ReadMe guide

2.4.2

* Correct false positive error when completing an IIS inventory job.
* Revert to specifying the version of PowerShell to use when establishing a local PowerShell Runspace.
* Fixed typo in error message.

2.4.1

* Modified the CertUtil logic to use the -addstore argument when no password is sent with the certificate information.
* Added additional error trapping and trace logs

2.4.0

* Changed the way certificates are added to cert stores. CertUtil is now used to import the PFX certificate into the associated store. The CSP is now considered when maintaining certificates, empty CSP values will result in using the machines default CSP.
* Added the Crypto Service Provider and SAN Entry Parameters to be used on Inventory queries, Adding and ReEnrollments for the WinCert, WinSQL and IISU extensions.
* Changed how Client Machine Names are handled when a 'localhost' connection is desired. The new naming convention is: {machineName}|localmachine. This will eliminate the issue of unique naming conflicts.
* Updated the manifest.json to now include WinSQL ReEnrollment.
* Updated the integration-manifest.json file for new fields in cert store types.

2.3.2

* Changed the Open Cert Store access level from a '5' to 'MaxAllowed'

2.3.1

* Added additional error trapping for WinRM connections to allow actual error on failure.

2.3.0

* Added Sql Server Binding Support
* Modified WinCert Advanced PrivateKeyAllowed setting from Required to Optional

2.2.2

* Removed empty constructor to resolve PAM provider error when using WinCert store types

2.2.1

* Fixed issue where https binding without cert was causing an error

2.2.0
* Added Support for GMSA Account by using no value for ServerUsernanme and ServerPassword. KF Command version 10.2 or later is required to specify empty credentials.

* Added Support for GMSA Account by using no value for ServerUsernanme and ServerPassword. KF Command version 10.2 or later is required to specify empty credentials.

* Added local PowerShell support, triggered when specifying 'localhost' as the client machine while using the IISU or WinCert Orchestrator. This change was tested using KF Command 10.3
* Moved to .NET 6

2.1.1

* Fixed the missing site name error when issuing a WinCert job when writing trace log settings to the log file.
* Several display names changed in the documented certificate store type definitions. There are no changes to the internal type or parameter names, so no migration is necessary for currently configured stores.
* Display name for IISU changed to "IIS Bound Certificate".
* Display name for WinCert changed to "Windows Certificate".
* Display names for several Store and Entry parameters changed to be more descriptive and UI friendly.
* Display name for IISU changed to "IIS Bound Certificate".
* Display name for WinCert changed to "Windows Certificate".
* Display names for several Store and Entry parameters changed to be more descriptive and UI friendly.
* Significant ReadMe cleanup

2.1.0

* Fixed issue that was occurring during renewal when there were bindings outside of http and https like net.tcp
* Added PAM registration/initialization documentation in README.md
* Resolved Null HostName error
* Resolved Null HostName error
* Added WinCert Cert Store Type
* Added custom property parser to not show any passwords
* Removed any password references in trace logs and output settings in JSON format

2.0.0

* Add support for re-enrollment jobs (On Device Key Generation) with the ability to specify a cryptographic provider. Specification of cryptographic provider allows HSM (Hardware Security Module) use.
* Local PAM Support added (requires Universal Orchestrator Framework version 10.1)
* Certificate store type changed from IISBin to IISU. See README for migration notes.


1.1.3

* Made WinRM port a store parameter
* Made WinRM protocol a store parameter
* IISWBin 1.1.3 upgrade script.sql added to upgrade from 1.1.2

1.1.0

* Migrate to Universal Orchestrator (KF9 / .NET Core)
* Perform Renewals using RenewalThumbprint

1.0.3

* Add support for the SNI Flags when creating new bindings. Supported flags include:
* 0 No SNI
* 0 No SNI
* 1 SNI Enabled
* 2 Non SNI binding which uses Central Certificate Store
* 3 SNI binding which uses Central Certificate Store
* Last release to support Windows Orchestrator (KF8)

1.0.2

* Remove dependence on Windows.Web.Administration on the orchestrator server. The agent will now use the local version on the managed server via remote PowerShell
* add support for the IncludePortInSPN flag
* add support to use credentials from Keyfactor for Add/Remove/Inventory jobs.
Loading
Loading