Question
ING Belgium SA NV
BE
Last activity: 3 Jun 2020 10:04 EDT
exception: javax.net.ssl.SSLException: hostname in certificate didn't match: !=
Hi Team,
getting below exception while trying to invoke the Rest service
exception: javax.net.ssl.SSLException: hostname in certificate didn't match: !=
Issue background : Rest service is been accessed earlier without any truststore\keystore. Now there was change from infra side(security reasons) because of which we will have to configured new truststore and keystore.
We tried creating jks file for the same and tried configuring truststore and then keystore(trial & error) .And getting the mentioned exception.
Kindly advise what should be configured in trust store and keystore? what is the things we are missing here?
Please note that we did DSS settings https/allowAllHostnames as false.