End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::SSL::SSLSocket#connect
ssl.connect => self
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_ssl_connect(VALUE self)
{
ossl_ssl_setup(self);
return ossl_start_ssl(self, SSL_connect, "SSL_connect", Qfalse);
}
Initiates an SSL/TLS handshake with a server.
See also
#client_cert_cb
#connect_nonblock
#client_ca
#finished_message
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0