Importing custom CA certificates
Importing a custom CA certificate entails exporting the CA root certificate (AEP CA) from the Firefox browser and then importing that certificate into the JRE cacerts file. Once imported, the JRE can use the certificate to validate a TLS connection.
To import a custom CA certificate, use the following steps:
- Export the CA root certificate from the Firefox browser.
- Open the SN page in the browser.
- Right-click on the page and select View Page Info.
Firefox will display a dialog box with the page information.
- Select the Security icon tab.
- Click on the View Certificate button on the right of the dialog
box.
Firefox will display another dialog box.
- Select the Details tab.
- In Certificate Hierarchy, select the root certificate at the top of the certificate tree hierarchy.
- Click the Export... button to export the selected certificate to a file.
- Accept the default name and format (PEM).
- Make a note of the name used.
- Import this certificate into the JRE cacerts file.
- From a command line, run the following command:
cd $NCHOME/platform/linux2x86/jre64_1.8.0/jre/binThis directory contains keytool, the tool that you will use to import the certificate into the cacerts file.
- Run the following command:
./keytool -import -file cert.crt -keystoreWhere cert.crt is the the name you specified in Step 1.8.
- Run the following command:
../lib/security/cacerts -storepass "changeit"Where
changeitis the store password.keytool will display the certificate details and prompt you to add the certificate.
- Enter Y (yes).
With cacerts updated to include the AEP CA certificate, the TLS negotiation can now verify the server, the connection should complete, and allow the gateway to run.
- From a command line, run the following command: