Link to home
Start Free TrialLog in
Avatar of RoccatRazer
RoccatRazerFlag for South Africa

asked on

Need Private key in certificate file

Greetings,

Firstly, most of what I need is client driven...

I have a CA installed on a stand-alone Win Server 2008.  A few PC's will be connected to this  server (no domain) and "registered" with my software.    After this registration the PC will be disconnected and operate as a stand-alone unit (No network or internet access).  As part of this registration process, I need to request a certificate from the CA, an operator will then issue the certificate, and then I need a certificate file with both the private and public keys included.  This certificate will then be installed on the Client PC.  (This risk will be managed by the client)

I got the whole process to work in C#, except the resulting certificate does not have a private key.  I used CX509CertificateRequestPkcs10 to request the certificate from the CA.  From my research it seems I need a pkcs12 certificate file.  I am not sure if this is correct.

I need a certificate file which can be installed on the client PC with a private and public key.  The whole process needs to happen with C#, except for the issuing of the certificate on the CA.

Any help is much appreciated.

SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.