Question

2
Replies
1745
Views
Close popover
Nagaraj Ponnurangam (NagarajP0101)
ING Belgium SA NV

ING Belgium SA NV
BE
NagarajP0101 Member since 2017 54 posts
ING Belgium SA NV
Posted: April 11, 2018
Last activity: June 3, 2020
Closed

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.

Low-Code App Development
Moderation Team has archived post