Skip to content

Conversation

@wfurt
Copy link
Member

@wfurt wfurt commented Jun 20, 2020

This is PoC for something we discussed while back with @davidsh and @bartonjs.
The test helper generates chain of certificates on the fly and then we use them in the test.
That allows to inject properties or custom URLs to verify certain behaviors.

I don't know if there is better way to construct custom extensions. For example X509SubjectKeyIdentifierExtension is easy but to do same of issuer did not have helper.

The tests are somewhat simple. They both verify that the chain can be trusted but they return different result and then we verify the SSLStream behavior.
If we agree on this, I will write more interesting tests to cover some gaps I'm aware of.

@wfurt wfurt added area-System.Net.Security test-enhancement Improvements of test source code labels Jun 20, 2020
@wfurt wfurt requested review from a team, bartonjs and davidsh June 20, 2020 00:52
@wfurt wfurt self-assigned this Jun 20, 2020
@ghost
Copy link

ghost commented Jun 20, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Security test-enhancement Improvements of test source code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants