[Help-gnutls] Re: Load Server private key problem

Simon Josefsson simon at josefsson.org
Mon Dec 3 12:35:37 CET 2007


Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:

> On Saturday 01 December 2007, Kristian Martens wrote:
>
>> Is there another way (API) to load encrypted keys by providing a password?
>
> Yes. Check the pkcs12 and pkcs8 functions at the manual. Note that your 
> current key was encrypted with openssl's way so it is not supported.

I think OpenSSL can convert it to PKCS#8 format using 'openssl pkcs8
-topk8' or something like that.  I wouldn't store my keys in openssl's
proprietary encrypted format, so you'd might want to consider using the
PKCS#8 format generally.

/Simon





More information about the Gnutls-help mailing list