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

Simon Josefsson simon at josefsson.org
Wed Dec 5 11:34:17 CET 2007


Check out the manual:

http://www.gnu.org/software/gnutls/manual/html_node/PKCS-_002312-structures.html
http://www.gnu.org/software/gnutls/manual/html_node/PKCS-_002312-structure-generation.html

Also see the source code for the certtool tool, in src/certtool.c, it
does both PKCS#8 and PKCS#12 operations.

If you develop some code that you think would be useful to include as an
example, please consider to contribute it so others can be helped by it!

/Simon

kristian.martens at freenet.de writes:

> Is there an example available how to use the API  for PKCS8 or 12?
>
> Thanks,
> Kris
>
> ----- original Nachricht --------
>
> Betreff: Re: Load Server private key problem
> Gesendet: Mo 03 Dez 2007 12:35:29 CET
> Von: "Simon Josefsson"<simon at josefsson.org>
>
>> 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
>> 
>
> --- original Nachricht Ende ----
>
>
>
>
> "Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken"
> http://produkte.shopping.freenet.de/handy_voip_isdn/klarmobil/index.html?pid=730025





More information about the Gnutls-help mailing list