WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Error when using an encrypted private key

Error when using an encrypted private key

by skawaii :: Rate this Message:

| View in Thread

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.

Basically, what I'm seeing is that my requests never get to the server when I use an encrypted private key. I started using gnutls-cli to debug and this is what I'm seeing:

$ gnutls-cli -V --x509certfile usercert.pem --x509keyfile userkey.pemĀ titan.cloud.company.com
Processed 1 client certificates...
*** Error loading key file: ASN1 parser: Error in TAG.

If I use an unencrypted private key, then the connection is successfully made:

$ gnutls-cli -V --x509certfile usercert.pem --x509keyfile userkey2.pemĀ titan.cloud.company.com
Processed 1 client certificates...
Processed 1 client X.509 certificates...
Resolving 'titan.cloud.company.com'...
Connecting to '192.169.2.1:443'...
....

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.

Thanks for the help,
Jason

_______________________________________________
Help-gnutls mailing list
Help-gnutls@...
https://lists.gnu.org/mailman/listinfo/help-gnutls
Jason Cooper
Software Engineer
Northrop Grumman Intelligence Group (TASC)

 « Return to Thread: Error when using an encrypted private key