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>/tools/certmanfolder. - At the command prompt, run
python importcert.py.
You will be prompted for the certificate file name. - Enter the certificate file name (not the key file).
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.