Associate a private key (container) with the certificate?
From: Antonio Ruiz Martínez (arm_at_dif.um.es)
Date: 02/24/04
- Next message: lelteto: "RE: Associate a private key (container) with the certificate?"
- Previous message: flor_lai: "schema in ldif format question"
- Next in thread: lelteto: "RE: Associate a private key (container) with the certificate?"
- Reply: lelteto: "RE: Associate a private key (container) with the certificate?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 24 Feb 2004 18:53:26 +0100
Hello all!
I'm writing, with my own code and using the CryptoApi, the request
of a certificate (PKCS#10) and I have a big problem that I don't know
how I can solve (if it is possible I don't like using the enroll
activex).
Now I'm going to tell you what I'm doing and which it is my problem:
- I'm doing the request. In order to do it I generate a private key in a
new container with CryptAcquireContext using the Microsoft Base
Provider. Then I'm working with it to do the PKCS#10 request. Similar to
the process of the enroll.
- After I send my request to the Certificate Authority.
- The following day I get the certificate.
The problem is that I don't know how I can associate the certificate
with the container because when I receive the certificate I don't know
how I can get the name of the container where the private key was
generated. Is there function of the Cryptoapi to know it?
I have seen there is a function called CertCreateCertificateContext to
do the association it but it requires the name of the container.
What are the steps I should follow? Could you guide me, please?
Thanks in advance,
Regards,
Antonio.
- Next message: lelteto: "RE: Associate a private key (container) with the certificate?"
- Previous message: flor_lai: "schema in ldif format question"
- Next in thread: lelteto: "RE: Associate a private key (container) with the certificate?"
- Reply: lelteto: "RE: Associate a private key (container) with the certificate?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|