The condition class
ssl-failure
corresponds to
SSL_ERROR_SSL
. This means a failure in processing the input, typically due to a mismatch between the client and the server. You get this error when trying to use a SSL connection to a non-secure peer.