Question

2
Replies
1613
Views
NagarajP0101 Member since 2017 54 posts
ING Belgium SA NV
Posted: 2 years ago
Last activity: 3 months 3 weeks ago
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
Share this page LinkedIn