[Bug 1002434]
Janne Snabb
1002434 at bugs.launchpad.net
Tue May 22 05:28:33 UTC 2012
How to test:
certtool --generate-privkey --outfile key.pem
certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem
certtool --generate-dh-params --bits 2237 --outfile dh2237.pem
certtool --generate-dh-params --bits 2236 --outfile dh2236.pem
gnutls-serv --http --x509keyfile key.pem --x509certfile cert.pem
--dhparams dh2237.pem --disable-client-cert --priority NONE:+VERS-TLS-
ALL:+CIPHER-ALL:+MAC-ALL:+DHE-RSA:+SIGN-ALL:+COMP-ALL
Connect to https://localhost:5556/ (with firefox for example) and
observe the failure.
gnutls-serv --http --x509keyfile key.pem --x509certfile cert.pem
--dhparams dh2236.pem --disable-client-cert --priority NONE:+VERS-TLS-
ALL:+CIPHER-ALL:+MAC-ALL:+DHE-RSA:+SIGN-ALL:+COMP-ALL
Connect to https://localhost:5556/ (with firefox for example) and
observe the normal security warning about untrusted certificate.
gnutls-serv and certtool are part of GnuTLS tools. They can be installed
on Debian and Ubuntu by running "apt-get install gnutls-bin".
The long priority string is there just to ensure that the TLS handshake
negotiates DHE-RSA based key exchange (new GnuTLS versions negotiate
ECDHE-RSA otherwise which masks the issue because DHE key will not be
needed). With older GnuTLS versions (I think less than 3) priority
string "NORMAL" is sufficient as the older GnuTLS library does not have
support for elliptic curves.
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1002434
Title:
TLS interoperability issue in NSS based software
To manage notifications about this bug go to:
https://bugs.launchpad.net/nss/+bug/1002434/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list