Warning: using default DH parameters

Hello all,

I’m issuing HTTP requests via SSL, and the following warning is

c:/ruby/lib/ruby/1.8/net/http.rb:569: warning: using default DH

This warning comes from the following line in net/http.rb:

    s = OpenSSL::SSL::SSLSocket.new(s, @ssl_context)

What is the meaning of this warning ? I assume that SSL complains about
the reduced cryptographic security because the parameters used for the
Diffie Hellman key exchange are default and not set by the applocation
So how can an application set these keys to avoid the warning ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs