Unable to process private key

Erinn Looney-Triggs erinn.looneytriggs at gmail.com
Tue Oct 11 19:37:57 CEST 2011

On 10/11/2011 08:42 AM, Nikos Mavrogiannopoulos wrote:
> 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

So versions of gnutls < 2.12 will not automagically decode it? Just want
to make sure so I can figure out which direction to push Red Hat in (if
I can push them at all).


More information about the Gnutls-help mailing list