rest-gradle-plugin icon indicating copy to clipboard operation
rest-gradle-plugin copied to clipboard

Setting SSL verification to false

Open hsarmah09 opened this issue 9 years ago • 3 comments

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

hsarmah09 avatar Feb 23 '16 16:02 hsarmah09

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

noamt avatar Feb 24 '16 15:02 noamt

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.

itissid avatar Mar 17 '16 13:03 itissid

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!

hsarmah09 avatar Mar 17 '16 13:03 hsarmah09