Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
ruby DH openssl warning
Eric Kolve
8/3/2006 11:01:00 PM
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
--
Posted via
http://www.ruby-...
.
1 Answer
Luke A. Kanies
8/7/2006 4:30:00 AM
0
On Aug 3, 2006, at 6:01 PM, Eric Kolve wrote:
> 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.
The OpenSSL library puts out a lot of warnings, and in most cases
there doesn't seem to be a way to get rid of them. I don't know if
I've specifically submitted a bug on this one, but I try to submit
bugs on cases where I find warnings that I can't seem to get rid of.
It's probably a good idea to submit a bug on this, since I can't find
any evidence of harm and it's pretty annoying getting this warning.
--
Luke Kanies
http://m...
615-594-8199
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
ruby DH openssl warning
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password