[Modules] [mod_gnutls 0.4.0] Failed to Import Certificate : (-50) The request is invalid.

Romain LE DISEZ romain.ledisez at netensia.fr
Mon Dec 3 05:21:44 EST 2007


Hi,

I'm running mod_gnutls 0.2.0. It works fine except some little bugs. I
installed mod_gnutls 0.4.0 but when I restarted Apache I got this :

Syntax error on line 34
of /etc/apache2/sites-enabled/002-www.example.com:
GnuTLS: Failed to Import
Certificate'/data/certs/example.com/certs/www.example.com.crt': (-50)
The request is invalid.

The only thing I changed was the LoadModule directive :
#LoadModule gnutls_module /usr/lib/apache2/modules/mod_gnutls.so-0.2.0
LoadModule gnutls_module /usr/lib/apache2/modules/mod_gnutls.so-0.4.0
<IfModule mod_gnutls.c>
    AddType application/x-x509-ca-cert .crt
    AddType application/x-pkcs7-crl    .crl

    GnuTLSCache dbm conf/gnutls_cache
    GnuTLSCacheTimeout       300
</IfModule>


002-www.example.com :
<VirtualHost a.b.c.d:443>
ServerName www.example.com
GnuTLSEnable on
GnuTLSCertificateFile /data/certs/example.com/certs/www.example.com.crt
GnuTLSKeyFile /data/certs/example.com/private/www.example.com.key
GnuTLSClientCAFile /data/certs/example.com/certs/example.com.crt
[...]
</VirtualHost>

Any idea of the problem ?

-- 
Romain LE DISEZ
Netensia




More information about the Modules mailing list