on 2018 Oct 16 3:29 AM
Hi, I am trying to connect to Hybris from jaspersoft studio. I followed the below steps listed in Hybris help and I am still facing an issue with it. Please find the details below.
Added the below line of code in the jaspersoftstudio.ini file
-Djavax.net.ssl.trustStore=/opt/hybris/bin/platform/resources/devcerts/yourCert.jks(Added the cert file that exists on hybris -Djavax.net.ssl.trustStoreType=JKS -Djavax.net.ssl.trustStorePassword= (How to get a password for the certificate which is on the server?)
Error: net.sf.jasperreports.engine.JRException: java.sql.SQLException: java.sql.SQLException: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200) at java.security.cert.PKIXParameters.(PKIXParameters.java:120) at java.security.cert.PKIXBuilderParameters.(PKIXBuilderParameters.java:104) at sun.security.validator.PKIXValidator.(PKIXValidator.java:89) at sun.security.validator.Validator.getInstance(Validator.java:179) at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)
Can you please let me know if i am missing anything, attached are the settings which i used to connect.

Request clarification before answering.
Does the end point need to be https?
Can you try http on port 9001?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 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.