Ebase and Java SSL validation

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

alexmcclune
Ebase User
Posts: 95
Joined: Wed Feb 27, 2013 5:16 pm

Ebase and Java SSL validation

#1

Postby alexmcclune » Wed Sep 26, 2018 9:42 am

Hi,

I have encountered a problem on a new ebase install - the forms pass the URL's to another site to log into a Portal before being passed back to ebase. Unfortunately I am really struggling to insert the SSL's into the key store.

I have downloaded the 2 certificates I could find from the other server and then used cmd line to try and enter them:

cd c:\ebase\jre\bin
keytool -import -file c:\oscert.crt -keystore c:\ebase\jre\lib\security\cacerts

And a few variations of the above. I have also tried editing the Ebase_Xi_V5.1.1w.exe service settings on the java tab by adding:

-Dcom.sun.net.ssl.checkRevocation=false
-Dtrust_all_cert=true

Neither seem to do anything.

Any help is appreciated.

Error in the log is: PkiX path building failed java trust store allow all

I knew I had encountered this before - viewtopic.php?f=4&t=1387 - still struggling to insert certificates though...!
0 x

alexmcclune
Ebase User
Posts: 95
Joined: Wed Feb 27, 2013 5:16 pm

Re: Ebase and Java SSL validation

#2

Postby alexmcclune » Wed Sep 26, 2018 10:01 am

Fixed - never mind :D

This working,

keytool -import -alias bob -file c:\oscert.crt -keystore cacerts

I also went a bit overboard on the service java settings:

-Dcom.sun.net.ssl.checkRevocation=false
-Dtrust_all_cert=true
-Djavax.net.ssl.keyStore=C:\ebaseXi_5.1.0\jre\lib\security\cacerts
-Djavax.net.ssl.keyStorePassword=XXX
0 x


Who is online

Users browsing this forum: No registered users and 10 guests