Importing openssl private key and cert

Fred MAISON <[email protected]> Mon, 04 Mar 2013 09:36:22 +0100
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Hi all,

I am trying to import CA private key generated by an openssl-based CA.
Currently, it's a base64 encrypted private key (pem -----BEGIN RSA
PRIVATE KEY----- ....).
The id is to import cert and key and  then store CA cert and key in a
p15 standard cryptlib keyset file.
I have been able to import and parse the certificate, but not the
private key.

Q1° Is it possible to do this or may I convert the key to binary (DER)or p7b
before import ?

Q2° is cryptKeysetOpen(...) the right way ?

Best regards,
Fred



_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.