November 2018
Intermediate to advanced
528 pages
13h 21m
English
It's testing time, but before running the project, we need to define a trusted keystore for Java in order to validate the server's certificate, and for that we use the Java keytool (further usage details on keytool can be found in Oracle's documentation):
keytool -import -keystore clientkeystore -file /path_to/cert.der -alias bip70.com -storepass changeit
Then import the resulting clientkeystore file into the Eclipse project. Afterwards, click Run as then Run Configurations to define the parameter -Djavax.net.ssl.trustStore=clientkeystore—in the Arguments tab in the VM arguments box:

Read now
Unlock full access