[release/6.0] OpenSslX509ChainProcessor: ignore NotSignatureValid on last element.#70343
Conversation
|
@bartonjs feel free to improve my initial message. |
|
cc @omajid |
|
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones Issue DetailsBackport of #69668 to release/6.0 Fixes: #65874 (comment) Customer ImpactRHEL9 default crypto policy no longer accepts the use of RSA+SHA1 signatures. Because .NET uses strict OpenSSL validation, it does not accept certain certificates, which are considered valid by other tools (like This change relaxes the validation so these certificates are trusted by .NET.
|
|
The failed legs are Helix warnings about queue deprecation, no tests failed. |
|
Servicing-approved label applied. Area owner signed off. CI passed with unrelated failures. |
Backport of #69668 to release/6.0
Fixes: #65874 (comment)
Customer Impact
RHEL9's default crypto policy no longer accepts the use of RSA+SHA1 signatures.
Because .NET uses strict OpenSSL validation, it does not accept certain certificates, which are considered valid by other tools (like
curl/wget). This causes websites likehttps://pkgs.dev.azure.comto no longer be accessible usingHttpClienton RHEL9.This change relaxes the validation so these certificates are trusted by .NET.
Testing
New tests are included as part of the change.
Risk
Low. The existing tests, combined with the new tests, give confidence to the scoped change. The version in
main(and the backport) were authored by a Red Hat employee, so we feel that the new RHEL9 scenario has gotten about as good an eye as it could get.