on ‎2018 Jun 14 5:23 PM - last edited on ‎2024 Feb 04 6:09 AM by postmig_api_4
Hi Team,
Recently we are moving datahub into latest release version (Hybris 6.7) and facing few issues during publication.
Caused by: java.io.IOException: HTTPS hostname wrong: should be (Seems targetsystem.hybriscore.url=http://localhost:9001/datahubadapter needs to configure with secured layer). can anyone help me to resolve the issue
Request clarification before answering.
Hi Suresh,
Be sure to review the HTTPS and SSL documentation.
Enable HTTPS
HTTPS is the default communication between Commerce Suite and Data Hub. Essentially, the url should always use https and ports 9002 and 8443.
Hybris local.properties
# Enable HTTPS
datahubadapter.datahuboutbound.url=https://localhost:8443/datahub-webapp/v1
Data Hub local.properties
# Enable HTTPS
datahub.server.url=https://localhost:8443/datahub-webapp/v1
...
targetsystem.hybriscore.url=https://localhost:9002/datahubadapter
...
datahub.extension.exportURL=https://localhost:9002/datahubadapter
Disable HTTPS
If you are not sing HTTPS, you can use the following propeties to disable the SSL connection between Hybris Commerce Suite and Data Hub. Essentially, the url should always use http and ports 9001 and 8080.
Hybris local.properties
# Disable HTTPS
datahubadapter.security.https.enabled=false
datahubadapter.datahuboutbound.url=http://localhost:8080/datahub-webapp/v1
Data Hub local.properties
# Disable HTTPS
datahub.security.https.enabled=false
datahub.server.url=http://localhost:8080/datahub-webapp/v1
...
targetsystem.hybriscore.url=http://localhost:9001/datahubadapter
...
datahub.extension.exportURL=http://localhost:9001/datahubadapter
Regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.