Skip to content

Add command Test-DbaNetworkCertificate#10178

Merged
potatoqualitee merged 2 commits intodevelopmentfrom
claude/issue-10164-20260219-1347
Feb 26, 2026
Merged

Add command Test-DbaNetworkCertificate#10178
potatoqualitee merged 2 commits intodevelopmentfrom
claude/issue-10164-20260219-1347

Conversation

@andreasjordan
Copy link
Collaborator

Implements the new Test-DbaNetworkCertificate command as described in issue #10164.

The command supports two modes:

  • Way One (no Thumbprint): Uses Get-DbaNetworkConfiguration to check the configured certificate and available suitable certificates
  • Way Two (with Thumbprint): Detailed per-test validation of a specific certificate

Closes #10164

Generated with Claude Code

github-actions bot and others added 2 commits February 19, 2026 13:57
Implements the new command to test SQL Server network certificate
configuration in two ways:
- Way One (no Thumbprint): checks the configured certificate validity
  and available suitable certificates using Get-DbaNetworkConfiguration
- Way Two (with Thumbprint): detailed validation of a specific certificate
  with individual test results for each requirement

The certificate validation logic in Way Two is aligned with the suitable
certificate filter in Get-DbaNetworkConfiguration for consistency.

(do Test-DbaNetworkCertificate)

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
@andreasjordan
Copy link
Collaborator Author

andreasjordan commented Feb 22, 2026

Tested in my lab:

image image

So it does what I wanted.

So we can publish that and see what the users say.

@andreasjordan andreasjordan marked this pull request as ready for review February 22, 2026 12:55
@andreasjordan andreasjordan changed the title Add Test-DbaNetworkCertificate Add command Test-DbaNetworkCertificate Feb 22, 2026
@potatoqualitee
Copy link
Member

I dig it, thank you :shovel:

@potatoqualitee potatoqualitee merged commit 1616a6d into development Feb 26, 2026
14 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-10164-20260219-1347 branch February 26, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test-DbaNetworkCertificate

2 participants