E
Eric Kolve
I get the following warning when this code is run (extracted from
net/https)
require 'timeout'
require 'socket'
require 'openssl'
s = timeout(10) { TCPSocket.open('mail.google.com', '443') }
ssl_context = OpenSSL::SSL::SSLContext.new
s = OpenSSL::SSL::SSLSocket.new(s, ssl_context)
warning: using default DH parameters.
Does anyone know how to resolve this? I know you have to setup some
pre-generated DH numbers on the context, but I haven't seen any examples
how to do this.
thanks,
eric
net/https)
require 'timeout'
require 'socket'
require 'openssl'
s = timeout(10) { TCPSocket.open('mail.google.com', '443') }
ssl_context = OpenSSL::SSL::SSLContext.new
s = OpenSSL::SSL::SSLSocket.new(s, ssl_context)
warning: using default DH parameters.
Does anyone know how to resolve this? I know you have to setup some
pre-generated DH numbers on the context, but I haven't seen any examples
how to do this.
thanks,
eric