Skip to content

Add cert validity dates and serial number to SslInfo#654

Merged
haga-rak merged 2 commits into
mainfrom
dev/sslinfo-cert-metadata
May 5, 2026
Merged

Add cert validity dates and serial number to SslInfo#654
haga-rak merged 2 commits into
mainfrom
dev/sslinfo-cert-metadata

Conversation

@haga-rak
Copy link
Copy Markdown
Owner

@haga-rak haga-rak commented May 5, 2026

Populate NotBefore, NotAfter and SerialNumber for both the remote and local certificates on SslInfo, covering the .NET SslStream path and the BouncyCastle path. Also fixes LocalCertificatePem being sourced from the remote certificate.

haga-rak added 2 commits May 5, 2026 23:22
Populate NotBefore, NotAfter and SHA-1 thumbprint for both remote
and local certs, on the SslStream and BouncyCastle paths. Also fix
LocalCertificatePem being sourced from the remote cert.
Issuer plus serial uniquely identifies a cert per RFC 5280, and both
providers expose it as a plain field, so no hashing on every TLS
handshake.
@haga-rak haga-rak changed the title Add cert validity dates and SHA-1 thumbprint to SslInfo Add cert validity dates and serial number to SslInfo May 5, 2026
@haga-rak haga-rak merged commit 2c56840 into main May 5, 2026
3 of 4 checks passed
@haga-rak haga-rak added the enhancement New feature or request label May 5, 2026
@haga-rak haga-rak deleted the dev/sslinfo-cert-metadata branch May 7, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant