[Modules] GnuTls: Base64 unexpected header error

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Wed May 20 09:55:30 EDT 2009


On Wed, May 20, 2009 at 5:51 PM,  <gnd at itchybit.org> wrote:
> hello,
>
> I investigated further on the private key. Its obtained from the provider
> 1&1 via some free SSL certificate giveaway that is a deal with Geotrust ..
>
> So the problem with the key is that its not generated by us, but its
> generated by either 1&1 or Geotrust - which provides the certificate to
> it.
> Another thing is that the key length is different from the keys that we
> generated by ourselves. Our private keys are 1024 bit RSA with the size of
> 887 bytes, whilst the key from 1&1 has a size of 912 bytes. Also its
> starting with "-----BEGIN PRIVATE KEY-----" instead of "-----BEGIN RSA
> PRIVATE KEY-----".

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. However which version of gnutls do you use? Newer
versions seem to autodetect the
private key file.

regards,
Nikos


More information about the Modules mailing list