H2 / TCP over SSL setting truststore system property alternatve

52 views
Skip to first unread message

anmold...@gmail.com

unread,
Mar 3, 2021, 1:47:12 AM3/3/21
to H2 Database
Hi,

We are using H2 in remote mode over TCP/SSL.

To achieve the SSL handshake we are setting system property javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword

Is there any alternative to setting the system property and provide a SSLContext to the H2
client org.h2.engine.SessionRemote to achieve the SSL connection ??

Is there an option to establish an SSL connection without the client validating the certificate chain of the server like the mysql jdbc property verifyServerCertificate=false

Thanks
Anmol

Evgenij Ryazanov

unread,
Mar 3, 2021, 5:31:19 AM3/3/21
to H2 Database
Hello.

H2 has anonymous SSL, but it works only with outdated JREs.
Reply all
Reply to author
Forward
0 new messages