I've created a light application that is connecting to IBM MQ using SSL.
If I setup both javax.net.ssl.trustStore
and javax.net.ssl.keyStore
everything works as expected.
The keystore (jks) contains in it two entries:
TrustedCertEntry
PrivateKeyEntry
I had the feeling that given the fact that I am the client for this connection, and MQ is the server, only trustStore should be used, but this is not the case since application is not working if I setup only the trustStore.
Can anyone explain me why both are required?