Ignoring SSL certificate in Apache HttpClient 4.3
How to ignore SSL certificate (trust all) for Apache HttpClient 4.3 ? All the answers that I have found on SO treat previous versions, and the API changed. Related: How to ignore SSL certificate errors in Apache HttpClient 4.0 How to handle invalid SSL certificates with Apache HttpClient? Need to trust all the certificates during the development using Spring Ignore SSL Certificate Errors with Java Edit: It is only for test purposes. Kids, don't try it at home (or in production) mavroprovato The code below works for trusting self-signed certificates. You have to use the TrustSelfSignedStrategy