-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.Net.SecurityenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
There is growing number of cases (like #27703) where uses see something like:
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
From that, it is very difficult to diagnose real root cause
It would be nice if the exception can provide more specific reason. This may not be complete list but it would be nice to distinguish following cases:
- wrong time
- unknown/untrusted CA
- name mismatch
- CRL/OSCP revocation issues
- custom verification callback denial
- extended key usage violation or other attribute problems
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Net.SecurityenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions