You cannot turn it off; it's automatic. Your Java error means that you haven't included your certificate path. If you get the same error when requesting to "https://example.com", you need to link your certificate list file. Otherwise, you may have a configuration error.
I'm doing a minecraft client and I'm trying to make a login system for a private client but when it's https then it throws this error and I don't know how to implement the certificate in the [email protected]
But if i use https java return this error: Caused by: 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 @HyroSK