29 May 2012 16:46
Big CA certificate bundle causes problems with GnuTLS 3.0.11
Janne Snabb <snabb <at> epipe.com>
2012-05-29 14:46:18 GMT
2012-05-29 14:46:18 GMT
I am experiencing a TLS handshake problem when GnuTLS 3.0.11 server has a big pile of CA certificates to verify against. I can not reproduce the problem with GnuTLS 2.12.14. Steps to re-produce: 1. Create server key+certificate: certtool --generate-privkey --outfile foo.key certtool --generate-self-signed --load-privkey foo.key --outfile foo.crt (leave all fields empty except expiration and enable signing and encryption) 2. Start server: gnutls-serv --x509keyfile foo.key --x509certfile foo.crt --x509cafile /etc/ssl/certs/ca-certificates.crt 3. Connect with client and observe failure: gnutls-cli --insecure -p 5556 localhost 4. Start server without CA cert bundle: gnutls-serv --x509keyfile foo.key --x509certfile foo.crt 5. Connect with client and observe success: gnutls-cli --insecure -p 5556 localhost(Continue reading)
RSS Feed