Unable to process private key

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Oct 11 18:42:00 CEST 2011


On Tue, Oct 11, 2011 at 6:34 PM, Erinn Looney-Triggs
<erinn.looneytriggs at gmail.com> wrote:

> Thanks, I dug into this further last night. I am no expert in this realm
> but it looks like the problem lies in the fact that the key is in PKCS#8
> format.
> With the version of gnutls I have on RHEL 6, certtool will
> happily decode it automatically via certtool -k, however, gnutls-cli
> will not, nor in fact will rsyslog which is what really drove me down

Ah. In that case just use the output of certtool -k to gnutls-cli or
the program your want to use.

> this path. Rsyslog simply crashes and core dumps. Rumor is that there is
> a gnutls function that will automatically detect/decode pkcs#8 format,

If you used 2.12.x the decoder would have falled back to pkcs #8.

regards,
Nikos




More information about the Gnutls-help mailing list