-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for TLS SNI #440
Comments
@c-knowles thanks. Do you know what's the earliest Ruby version to provide |
Three Bunny classes that are relevant if you are to consider a PR:
Thank you. |
Not sure about the versions yet, I do know it seems to have been in there since at least 2015. So if there is no support yet or planned I will likely have a go at a pull request soon, doesn't look like the changes would be that big. |
We can always set that field only if the socket object responds to |
According to ruby/openssl#81 on the
|
The compose.io implementation of RabbitMQ needs SNI on the TLS connection in order to verify correctly, at least on their very latest implementation. I was looking through the bunny docs and code but didn't spot any support for it. Is there any? If not I may submit the change for review.
The openssl equivalent would be along the lines of adding
servername
:openssl s_client -connect HOST:PORT -servername HOST
It's undocumented but Ruby seems to support this via
hostname
on the SSL socket:The text was updated successfully, but these errors were encountered: