I try to append security properties to java.security. Hence I add a property "java.security.properties" specifying the file to be appended.
I checked that security.overridePropertiesFile is set to true.
For some reason the changes to the security policy are not applied. If I change the file "java.security" directly everything works fine.
Either the file cannot be found or the content of the file is not correct. I do not get any error message about the location. I tried absolute, relativ paths. The content of the file is the following (one line):
jdk.tls.disabledAlgorithms=ECDH, DH, RC4, DES, MD5withRSA, 3DES_EDE_CBC, DESede, DES, anon, NULL
I guess there is something wrong with the path but don't know since there are no logs about it. Couln't find good information about the path though. All examples are relativ paths which do not work either for me.
I am using JDK11.