Error when using an encrypted private key

Nikos Mavrogiannopoulos nmav at
Tue Jan 17 20:07:46 CET 2012

On 01/17/2012 01:04 AM, Jason Cooper wrote:

>> Ah, well that might be the problem. I do have a PKCS#12 file, but
>> it's both my private key and public cert. I export my private key
>> from that using OpenSSL (openssl pkcs12 -nocerts -in mycert.p12
>> -out userkey.pem), but it sounds like I need to export that as a
>> PKCS#8 or PKCS#12 file. Good to know. Thanks for the info.

> I exported my private key as PKCS#8, but am still getting the same

> error. The only thing that is currently working for me is to use my
> unencrypted private key. Any ideas why this might be?

I believe you should check with the developers of git. Even if gnutls
supports encrypted key, programs might not use that functionality.


More information about the Gnutls-help mailing list