-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
Description
This comment implies that SNI is supported but I'm not finding that it's the case.
I've been working on adding in TLS SNI support to the MongoDB driver and when on MRI, I can set the hostname on the SSLSocket after this line.
MongoDB then logs:
new ssl connection, SNI server name [server]
where server is the hostname.
When I'm using JRuby, the MongoDB log shows:
new ssl connection, SNI server name []
Here is the relevant change to the MongoDB Ruby driver.
I've tried with JRuby 1.7.22 and 9.1.2.0.
Let me know if there something else I have to do to get SNI support from JRuby's openssl library. Thanks!
Emily
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37691267-server-name-indication-sni-support?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github).