Import a CA certificate
Import CA certificates into an OS keystore
Import CA certificates into an OS keystore
This tutorial shows how to use the python importcert.py
script to import a CA certificate into an operating system (OS) keystore so the OS will trust your certificates.
Run this script with elevated privileges. For Windows, a command prompt must be run as Administrator. For Linux and MacOS prepend the command with 'sudo'.
Navigate to the
<faircom>/drivers/certificates
folder.At the command prompt, run
python importcert.py [certificate file name]
.You will be prompted for the certificate file name if you did not enter it as a command line parameter.
Enter the certificate file name.
The certificate is located and you will be prompted to import the certificate.
Press Enter,
The certificate is loaded and imported into the OS keystore.
The output is displayed. It is different, depending on the operating system.
Press Enter to exit.