TlsFailureReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates possible reasons for TLS failure. Only common failures are given specific values.
public enum class TlsFailureReason
public enum TlsFailureReason
type TlsFailureReason =
Public Enum TlsFailureReason
- Inheritance
-
TlsFailureReason
Fields
CertificateExpired | 4 | The certificate presented by the remote has expired. |
IncorrectNameInRemoteCertificate | 3 | The target name specified in certificate is incorrect. |
LocalCertificateNotFound | 1 | The local certificate specified was not found in the local computer store. |
Other | 0 | Some other reason. See Error Code for specific failure. |
RemoteCertificateInvalidUsage | 8 | The remote certificate does not have the required enhanced key usage. |
RemoteCertificateRevoked | 7 | The remote certificate was revoked. |
RemoteDisconnected | 6 | The remote disconnected while TLS negotiation was in progress. |
TlsNegotiationFailure | 5 | The Tls negotiation failed. Either the local certificate is unusable or the remote does not trust it. |
UntrustedRemoteCertificate | 2 | The certificate presented by the remote was not trusted. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for