Error when using an encrypted private key
skawaii at gmail.com
Tue Jan 17 01:04:57 CET 2012
> On Sat, Jan 14, 2012 at 3:51 AM, Nikos Mavrogiannopoulos <nmav at gnutls.org (mailto:nmav at gnutls.org)> 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.
> Good to know. Thanks for the info.
> > .
> > http://www.gnu.org/software/gnutls/manual/html_node/Managing-encrypted-keys.html
> > regards,
> > Nikos
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?
Again, I'm using Git 22.214.171.124 w/ GnuTLS 2.10.5 on Linux Mint 12.
Thanks for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-help