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.