[Modules] mod_gnutls taking over, error in cert/key?

Flavio Curti lists.fcu at no-way.org
Tue May 17 08:41:00 EST 2005


I'm trying out mod_gnutls 0.2.0 and it refuses to work. My
libbgnutls.so.12 => /opt/gnutls1.2.3//lib/libgnutls.so.12 (0x4000b000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x4009e000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x400ec000)

mod_ssl is compiled in, could that be a problem?

The Virtual-Host Config:

GnuTLSCache dbm "/tmp/gnutls_cache-cacert.dbm"
<VirtualHost ip:443>
      GnuTLSEnable On
      GnuTLSCertificateFile /path/to/host1.crt
      GnuTLSKeyFile /path/to/host1.key

nothing is in the logs. When I enable apaches debug error logging it

[Tue May 17 15:16:43 2005] [debug] gnutls_hooks.c(237): GnuTLS: sni-x509
cn: /-50 pk: (null) s: 0x08137348 sc: 0x0817AF18

When I connect to the 443 port of the ip, it serves plain HTTP, no HTTPS
handshake is happening. I compiled mod_gnutls with debugging turned on,
but no errors or warnings appear in the /tmp/gnutls_debug file. The Cert
and Key file are the files taken 1:1 from a working mod_ssl
configuration, need they to be converted into some other format?

Thanks for any help and regards



More information about the Modules mailing list