2/14/2019

Ignore Certificate Verification Using RestTemplate

For some reasons, we don't want to verify certificate verification when data transfer has to happen over HTTPS.

How to disable verification using restTemplate in Spring?

  1. Custom trustStrategy that trusts all certs
  2. Implement hostname verification which trusts all host

3 comments:

  1. Nice work! After some hours googling found this post that worked for me. Thanks!

    ReplyDelete
  2. Accounting Services: We are a professional and experienced international accountants we offer our clients the full range of accounting services including Nhbrc Test and Registration in South Africa, NHBRC certificate, CIDB Registration, renewals and upgrades, All Tax Services, Business Plans
    etc. We work with a wide variety of companies and business sectors.
    We're solutions focused, results driven tax and business accountants in Midrand, JohannesburgNHBRC certificate

    ReplyDelete