July 2018
Intermediate to advanced
268 pages
7h 36m
English
Execute the following command to find your Java installation directory:
/usr/libexec/java_home
Alternatively, execute the following command directly to add the .crt file to Java cacerts:
keytool -import -alias thekeystore -storepass password -file thekeystore.crt -keystore "$(/usr/libexec/java_home)\jre\lib\security\cacerts"
The following figure shows successful execution of the preceding command in a command prompt window:

When setting up a client, make sure that the JDK used is the same as the one in which we have added the .crt file. ...
Read now
Unlock full access