From: k@... Date: 2016-09-08T15:36:28+00:00 Subject: [ruby-core:77221] [Ruby trunk Misc#12740][Closed] Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support Issue #12740 has been updated by Kazuki Yamaguchi. Status changed from Open to Closed Thank you for reporting! There are already RDoc comments but it looks like RDoc couldn't find them. Now they show up in the generated HTML: OpenSSL::SSL::SSLContext#servername_cb: http://ruby.github.io/openssl/OpenSSL/SSL/SSLContext.html#attribute-i-servername_cb OpenSSL::SSL::SSLSocket#hostname=: http://ruby.github.io/openssl/OpenSSL/SSL/SSLSocket.html#method-i-hostname-3D ---------------------------------------- Misc #12740: Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support https://bugs.ruby-lang.org/issues/12740#change-60449 * Author: Emily Stolfo * Status: Closed * 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: