ruby ssl peer certificates

As it turns out when running an SSLServer in ruby the openssl doesn't automatically request the peer certificate through the SSL socket. The main reason for this is `ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE` and can be circumvented by verifying the peer, but do not let a failure terminate the socket.

Proxied content from gemini://tilde.pink/~maria/log/2021-06-18_ruby_ssl_peer_certificates.gmi (external content)

Gemini request details:

Original URL
gemini://tilde.pink/~maria/log/2021-06-18_ruby_ssl_peer_certificates.gmi
Status code
Success
Meta
text/gemini;lang=en
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.