E-IB: Getting "java.io.IOException: HTTPS hostname wrong: should be <*.*.*.*>, but cert says..." on Accessing External Web Service Node over HTTPS

(Doc ID 1163124.1)

Last updated on MARCH 01, 2016

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.48 and later
Information in this document applies to any platform.
***Checked for relevance on 05-March-2013***


When pinging or otherwise accessing an external Web Service URL over HTTPS protocol, get java.io.IOException saying that HTTPS hostname is wrong in comparison with one in the certificate.

By following these steps the issue can be reproduced:

  1. Sign-on into PIA.
  2. Navigate PeopleTools > Integration Broker > Integration Setup > Node to open the external node.
  3. Switch to Connectors tab and setup HTTP Target Connector with external Web Service URL.
  4. Ping the node.
  5. Check errorLog.html (in PSIGW directory), it will show an error like the following:

java.io.IOException: HTTPS hostname wrong:  should be <*.*.*.*>, but cert says <CN=www.hostname.com, O=City Province, L=City, ST=ProvinceBogota, C=CO>


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms