We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The more recent Ruby documentation for OpenSSL::SSL::SSLContext says:
The cert, key, and extra_chain_cert attributes are deprecated. It is recommended to use add_certificate instead.
Review the gem's SSL support with the idea of addressing these deprecations.
The text was updated successfully, but these errors were encountered:
Just a couple of notes for now.
The add_certificate method has been added recently. Not sure exactly when, It is in Ruby 2.5.1, but not Ruby 2.3.2.
The gem attempts to support very old Ruby versions, back to and including 1.8.7. There is no intent to change that.
One strategy might be to use a construct like:
if ctx.respond_to?(:add_certificate) # New code here else # Old code here end
This will result in even more ugly code in netio.rb, but is likely the best implementation route.
Sorry, something went wrong.
Address issue stompgem#155, SSL deprecations.
cd19c71
OK, done. See: cd19c71
No branches or pull requests
The more recent Ruby documentation for OpenSSL::SSL::SSLContext says:
Review the gem's SSL support with the idea of addressing these deprecations.
The text was updated successfully, but these errors were encountered: