On Sat, Jan 14, 2012 at 3:51 AM, Nikos Mavrogiannopoulos <nmav@...> wrote:
On 01/13/2012 09:44 PM, Jason Cooper wrote:
> I'm using Linux Mint 12, which comes with GnuTLS 2.10.5. I'm working > on configuring Git with https. On Linux Mint, Git is using GnuTLS > under the hood, so I'm hoping this is the right place to get help.
Hellom GnuTLS is a library. How it is being used depends on the application.
> What I'm really wondering is can I use encrypted keys with GnuTLS
> 2.10.5? If so, any hints on what else could be the problem? I'd > really prefer to not have my private key stored in the clear.
How did you encrypt your private key? GnuTLS supports two types of encrypted keys. PKCS #8 and PKCS #12 .
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.