We are working in a VM environment with Win 2008 R2 machines. For one of the POCs, i need to restrict access to a specific port for a given list of machines. So I am trying to generate SSL certificate for this purpose. I have installed Active Directory Certification services on one VM and made it the local root CA. From this, i want to issue certificates to 2 or 3 other VMs. I am able to generate the CSR from the 2nd VM and create the CSR. Then I go to the certsrv site on local CA VM, submit the base 64 request and then go to Pending certificates and issue the certificate. Then I am able to download the issued certificate as well.
In all these steps, no where I am being asked for the Private Key. So if I install this certificate, i dont get any option to export the certificate into PFX file which will have the private key. I only get option to export it to p7b file which only has the public key.
So please let me know how do I generate the certificates with private key?
Eventually, my requirement is to take the PFX certificate and convert it into a JKS keystore file for each individual VM and also create a combined Truststore JKS file with all the certificates. Please let me know how I can go about this one.
Thanks askids