Skip to content

feat(dgw): add CredSSP certificate configuration keys#1676

Merged
Benoît Cortier (CBenoit) merged 1 commit intomasterfrom
feat/config-keys-for-credssp
Feb 17, 2026
Merged

feat(dgw): add CredSSP certificate configuration keys#1676
Benoît Cortier (CBenoit) merged 1 commit intomasterfrom
feat/config-keys-for-credssp

Conversation

@CBenoit
Copy link
Member

Add optional CredSspCertificateFile and CredSspPrivateKeyFile configuration keys allowing usage of a different certificate for CredSSP credential injection instead of the main TLS certificate. When unset, the existing TLS certificate is used (no behavior change).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for configuring a separate certificate for CredSSP credential injection, allowing operators to use a different certificate than the main TLS certificate when performing proxy-based RDP credential injection. When the new configuration options are not set, the gateway falls back to using the existing TLS certificate, ensuring backward compatibility.

Changes:

  • Added CredSspCertificateFile and CredSspPrivateKeyFile configuration options
  • Updated configuration schema and documentation to reflect the new options
  • Modified RDP proxy and clean path handlers to use the CredSSP certificate when available, falling back to TLS certificate

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
devolutions-gateway/src/config.rs Added credssp_tls field and initialization logic for CredSSP-specific certificates
devolutions-gateway/src/rdp_proxy.rs Updated to use credssp_tls with fallback to tls
devolutions-gateway/src/rd_clean_path.rs Updated to use credssp_tls with fallback to tls
devolutions-gateway/tests/config.rs Added new fields to all test configuration samples
config_schema.json Added JSON schema definitions for the new configuration options
README.md Documented the new configuration options with usage guidelines
docs/COOKBOOK.md Added note about optional CredSSP certificate configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Add optional `CredSspCertificateFile` and `CredSspPrivateKeyFile`
configuration keys allowing usage of a different certificate
for CredSSP credential injection instead of the main TLS certificate.
When unset, the existing TLS certificate is used (no behavior change).
@CBenoit Benoît Cortier (CBenoit) merged commit 443e5f0 into master Feb 17, 2026
40 checks passed
@CBenoit Benoît Cortier (CBenoit) deleted the feat/config-keys-for-credssp branch February 17, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants