You can request a certificate using a Windows PC.
- Open Command Prompt.
- Execute the following command:
certreq -submit -attrib "CertificateTemplate:<SIGNINGTemplate name>" - When prompted, provide the CSR file, the CA to issue from, and an output location of the client.cer file.
- You will need the CA certificate to build the chain. Your certificate administrator should be able to provide the CA certificate. Otherwise, you can execute the following command:
certutil -ca.cert output/path/root_ca.cer - Copy the root_ca.cer and the client.cer files back to the location where the CSR was created.
- Execute the following command:
openssl pkcs12 -export -out /path/to/<choosename>.p12 -inkey /path/to/private.key -in /path/to/client.cer -certfile /path/to/root_ca.cer - When prompted, enter an export password.