I have some java apps that are complaining about different SSL problems like self signed certificate or not trusted ones.
As I do not have the code of these apps and getting good certificates is too hard, I am looking for a solution that would allow me to force it to connect.
So far I tried these but it seems not to be enough:
-Dcom.sun.net.ssl.checkRevocation=false
-Djava.security.debug=certpath
I still see:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target