cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with connecting Jaspersoft to Hybris

0 Kudos
413

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member633554
Active Participant
0 Kudos

Does the end point need to be https?

Can you try http on port 9001?

0 Kudos

I tried 9001 and by using http, still the same issue