-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix failing revocation & ssl tests #38827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tagging subscribers to this area: @dotnet/ncl |
|
/azp run runtime-libraries outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-libraries outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
...libraries/Common/tests/System/Security/Cryptography/X509Certificates/CertificateAuthority.cs
Outdated
Show resolved
Hide resolved
...libraries/Common/tests/System/Security/Cryptography/X509Certificates/CertificateAuthority.cs
Outdated
Show resolved
Hide resolved
| eeKey, | ||
| altName); | ||
| endEntityCert = endEntityIsServer ? | ||
| intermediateAuthority.CreateServerEndEntity( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really this feels like it should just take an OidCollection or Oid or string, rather than using a bit in the PkiOptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about adding bool to BuildPrivatePki() but OidCollection seems like better option. I think more variations are yet to come.
|
I added collection and moved altName to SslStream helper. I think that will give us more flexibility to also add IPs if we need to. |
|
/azp run runtime-libraries outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Yay for code reuse. Thanks, @wfurt. |
fix tests broken by #38182.
This adds fork for Ssl server leaving revocation tests as before.
It adds keySize parameter to avoid failures on Debian 10 (requiring stronger crypto)
fixes #38805
fixes #38744