In case you want just the encryption (without server authentication), you 
do not need any certificates for your h2 server, at least in theory.

In practice, this was fixed only after the last version (1.4.191) was 
released, so you would need to use some more recent development version, 
for instance http://www.h2database.com/automated/h2-latest.jar to have ssl 
connections working right away.

For TLS with certificates, look at 
http://h2database.com/html/advanced.html#tls_connections
It is important to follow the advice given there and set the two system 
properties (related to your keystore) before starting the h2 server.
Beware that if your own certificate is not signed by an authority trusted 
by the clients, it will not be any better than the default h2 certificate.

Regards,
Tomas

On Friday, April 29, 2016 at 2:33:08 AM UTC-4, Jijo AC wrote:
>
> We tried to connect to H2 server in SSL mode, But it failed with java 8 
> because of some valid certification missing. So we like to use our own 
> keystores, How we can create a keystore? 
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to