Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Mysql ssl configuration (no replies)

$
0
0
Hi,
I have a java application on server1 and mysql on server2, I want to configure ssl on both.
This is my 4th day on subject, I already read all doc but nothing resolve my problem.

To configure ssl I don't want to generate anything, I already have signed certificate that my client gave me to configure ssl.

For server1: I have a chained certificate (server2.crt) with 3 certificate inside, i assume it's the root, the intermidiate and user certicate. And a private key server2.pem

Same for server2

here what I tried :
- serverside
Ssl-ca=Server2.crt (the chained certificatr)
Ssl-cert=server2.crt
Ssl-key=server2.pem

- clientside
I imported to the truststore the root ca that I extracted from server2.crt


I imported the server1.crt+server1.pem to the keystore with using pk12

Please help none of this works, and I keep having sslhandshakeexeption unsuported certificate...

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>