How to disable certificate validations in the Java HTTP Client
Java11introducedtheHTTPClient,anAPIthatmadeiteasiertosendHTTPrequestswithvanillaJava.Bydefault,itthrowsanexceptioniftherearecertificatepathorhostnameverificationerrorsintherequest.Let’sseehowtobypassc