Value | Meaning |
---|---|
UNAVAILABLE0 | No TLS provider is available |
MISC1 | Miscellaneous TLS error |
BAD_CERTIFICATE2 | The certificate presented could not be parsed or failed validation. |
NOT_TLS3 | The TLS handshake failed because the peer does not seem to be a TLS server. |
HANDSHAKE4 | The TLS handshake failed because the peer's certificate was not acceptable. |
CERTIFICATE_REQUIRED5 | The TLS handshake failed because the server requested a client-side certificate, but none was provided. See TlsConnection.setCertificate. |
EOF6 | The TLS connection was closed without proper notice, which may indicate an attack. See TlsConnection.setRequireCloseNotify. |
INAPPROPRIATE_FALLBACK7 | The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60 |
An error code used with G_TLS_ERROR in a GError returned from a TLS-related routine.