on ‎2018 Aug 27 8:17 AM - last edited on ‎2024 Feb 04 6:43 AM by postmig_api_4
Hi Experts
I have am able to connect Datahub with Hybris commerce and upload data into hybris using HTTP protocols but when I try to estable the connection between the servers using HTTPS while enabling SSL properties of both the server , hybris is not able to connect with datahub with the following warning in the logs. WARN [hybrisHTTP17] [DefaultAbstractCollectorChartHandler] Could not find series values WARN [hybrisHTTP17] [DataHubStatusClient] Data Hub @ https://localhost:8443/datahub-webapp/v1 is not running because: java.net.ConnectException: Connection refused: connect WARN [hybrisHTTP26] [DataHubStatusClient] Data Hub @ https://localhost:8443/datahub-webapp/v1 is not running because: java.net.ConnectException: Connection refused: connect
However when I try to access https://localhost:8443/datahub-webapp/v1/status from my browser I get "Running" status and I am also prompted to add user name and password.
So It seems like I am missing something to enable SSL connection.Would really appreciate some guidance!
Here are the properties files of both hybris and datahub.link textlink text
Request clarification before answering.
,
Hybris Platform trusts this RootCA by default so it is possible to access an HTTPS resource from Platform itself. You need to create the certificate from the keystore file(.jks) and export it to cacert.
Also use following hybris properties: additional.javax.net.ssl.trustStore=${platformhome}/resources/devcerts/yourfile.jks additional.javax.net.ssl.trustStorePassword=yourPassword
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rahul,
Have you configured Tomcat as required in the documentation? I'm assuming 'yes' since you confirm you can successfully access https://localhost:8443/datahub-webapp/v1/status through the browser.
Data Hub and SAP Hybris Commerce ship with synchronized certificates so I wouldn't expect any certificate issues with the out of the box certificates. Have you modified anything regarding the certificates and keystores?
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 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.