I am using ssl for jdbc-application. It works fine in my small application. Now, I try to use it for my cuba-project. In my small application (not cuba), I just set the System.property(…) and did a connection using jdbc etc.
But as I know, I need to use gradle in cuba.studio.
In fact, I just have to configure this two properties:
System.setProperty("javax.net.ssl.trustStore", "pathToMyTrustStore"); System.setProperty("javax.net.ssl.trustStorePassword", "Password");
The trustStore for ssl is in the meta-inf folder.
So, when I try to make a connection on the browser with cuba-studio to my database, I will always get an problem to connect to my database. So, I think I have to modify the code first, with the Properties and then, the connection will be working?!
Because, if I dont use the certificate, I will get an “Access denied”.
Thanks a lot