If you are using a certificate signed by a Certificate Authority that is not included in the Java cacerts file by default, you need to complete the following configuration for HTTPS connections.
To import certificates into cacerts:
- Open Windows Explorer and navigate to the cacerts file, which is located in the jre\lib\security subfolder where AX Core Client is installed. The default location is C:\Program Files\ACL Software\AX Core Client\jre\lib\security
- Create a backup copy of the file before making any changes.
- Depending on the certificates you receive from the Certificate Authority you are using, you may need to import an intermediate certificate and/or root certificate into the cacerts file. Use the following syntax to import certificates:
keytool -import -alias -keystore -trustcacerts -file
- If you are importing both certificates the alias specified for each certificate should be unique.
- Type the password for the keystore at the “Password” prompt and press Enter. The default Java password for the cacerts file is “changeit”.
Type ‘y’ at the “Trust this certificate?” prompt and press Enter.