[Modules] GnuTls: Base64 unexpected header error

gnd at itchybit.org gnd at itchybit.org
Wed May 20 11:27:38 EDT 2009


> However which version of gnutls do you use? Newer
> versions seem to autodetect the
> private key file.

im running Debian and the installed mod_gnutls is:

Package: libapache2-mod-gnutls
Priority: extra
Section: httpd
Installed-Size: 80
Maintainer: Jack Bates <ms419 at freezone.co.uk>
Architecture: i386
Source: mod-gnutls
Version: 0.5.2-1
Depends: libc6 (>= 2.7-1)
Filename: pool/main/m/mod-gnutls/libapache2-mod-gnutls_0.5.2-1_i386.deb
Size: 25824

> It seems it is a PKCS #8 key. You can convert it to a format that
> mod_gnutls should be able to read
> using certtool -k.

I tried to convert the key with:
certtool --generate-privkey --infile xxx_real.key --outfile key.pem

and its working, insofar as apache will start up, but the website is not
working because of:

An error occurred during a connection to www.mobivita.com.
Peer's certificate has an invalid signature.
(Error code: sec_error_bad_signature)
(this is what firefox tells me).

Maybe i did not convert the key correctly ?



> regards,
> Nikos

More information about the Modules mailing list