I received this error while trying to start up an application:
Sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.C
Not exactly a setting but you can override the default TrustManager and HostnameVerifier to accept anything. Not a safe approach but in your situation, it can be acceptable.
Complete example : Fix certificate problem in HTTPS