noamt/rest-gradle-plugin

Setting SSL verification to false

Opened this issue · 3 comments

Is there a way to set the SSL verification property to false? otherwise, it doesnot work for a https uri.

noamt commented

The plugin is backed by Groovy HTTPBuilder, and ignoring verification errors should be fairly straight forward.
I'll happily accept a pull request :)

I ran into this as well. Just to add a bit more here. Do update the apache library because of https://issues.apache.org/jira/browse/HTTPCLIENT-1346; That would really be hiding whats going on and http://stackoverflow.com/questions/12095758/apache-httpclient-sslpeerunverifiedexception is just something that was useful in debugging my issue as well.

Hi, I tried ignoring SSL issues with the method available in HttpBuilder class of Groovy and its working now, there was a problem initially due to proxy configuration in my organization. Thanks a lot!