Project

General

Profile

Actions

Misc #12740

closed

Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support

Added by emilys (Emily Stolfo) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
[ruby-core:77220]

Description

I've been adding SNI support to the MongoDB Ruby driver and I've had to use the hostname attribute of a SSLSocket. It's not in the documentation but I think it should be so that others can find out how to added SNI support as well.

Here is how I'm using the hostname attribute, for your reference: https://github.com/mongodb/mongo-ruby-driver/pull/815/files

Actions

Also available in: Atom PDF

Like0
Like0