[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] Re: Load Server private key problem
From: |
Simon Josefsson |
Subject: |
[Help-gnutls] Re: Load Server private key problem |
Date: |
Wed, 05 Dec 2007 11:34:17 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
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
address@hidden 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"<address@hidden>
>
>> Nikos Mavrogiannopoulos <address@hidden> 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