Import a certificate and its private key into the Windows key store

This procedure allows you to import a certificate and its private key.

  1. Create a certificate.
  2. Create a specific PKCS12 file containing the certificate and its private key in one file using the following openssl command:
    $ openssl pkcs12 -export -inkey MyCert.pem -in MyCert.crt -out MyCert.p12
    Note: The .p12 generated file is protected by a password and can then be transported without any risk.
  3. On a Windows® system, open this .p12 file and follow the instructions provided.
    Note: If you select strong verification during the importation process, a pop-up displays each time an application accesses the private key asking the user whether the application is allowed to use it.