Skip to content

Add ExtraStore property to CertificateAuthenticationOptions #29679

@aalsamoht

Description

@aalsamoht

When working with the X509Chain directly I have added my custom root certificates to the X509Chain.ChainPolicy.CustomTrustStore and my custom intermediates to the X509Chain.ChainPolicy.ExtraStore. I would like to do the same when using CertificateAuthenticationOptions.

It would also be nice to be able to use just the ExtraStore without needing to use the CustomTrustStore.

Putting the roots and intermediates in the CustomTrustStore works, ref. dotnet/runtime#20302 - I would simply prefer to keep them separate.

Is there a reason for not adding a ExtraStore property to CertificateAuthenticationOptions?

Metadata

Metadata

Assignees

Labels

✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!DoneThis issue has been fixedarea-authIncludes: Authn, Authz, OAuth, OIDC, BearerenhancementThis issue represents an ask for new feature or an enhancement to an existing one

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions