[ruby-core:77220] [Ruby trunk Misc#12740] Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support
From:
emily@...
Date:
2016-09-08 14:44:29 UTC
List:
ruby-core #77220
Issue #12740 has been reported by Emily Stolfo. ---------------------------------------- Misc #12740: Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support https://bugs.ruby-lang.org/issues/12740 * Author: Emily Stolfo * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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 -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>