Is there an easier way to tell HTTPBuilder to ignore an invalid cert?

Josh Diehl picture Josh Diehl · Jul 24, 2012 · Viewed 18.1k times · Source

Per the docs, you can go through a rather clunky process of export a cert from a browser manually and getting it recognized locally. Is there anything similar to curl's --insecure switch to make this practical?

Answer

sdf3qrxewqrxeqwxfew3123 picture sdf3qrxewqrxeqwxfew3123 · Aug 1, 2014

Good news everyone! :-) Just found out that new version (0.7.1) of HttpBuilder introduces method:

ignoreSSLIssues()

This solves all problems regarding invalid SSL certificates (of course you have to be aware that it also decreases security).

More information about this method: https://github.com/jgritman/httpbuilder/wiki/SSL (section at the bottom)