Location of java.security file used by Rider on Mac

When I try to connect to my remote SQL Server database using Rider embedded tools and jdbc sql server driver I get the following exception:

java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

The algorithm that is problematic is the MD5withRSA that is disabled in JRE. What I read is that I need to change the list of disabled algorithms in the java.security file. Settings to change:

jdk.tls.disabledAlgorithms
jdk.certpath.disabledAlgorithms

The problem is that I can't find java.security file used by the Rider application. How can I change those values or locate the file I need?

I tried using the VM custom settings, but didn't work.

Please sign in to leave a comment.