Forum: Ruby warning: using default DH parameters

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eli B. (Guest)
on 2006-03-20 19:04
(Received via mailing list)
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 =, @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 topic is locked and can not be replied to.