Closed snipem closed 7 years ago
There currently is no option for that. The Groovy HTTPBuilder that is used here under the hood uses the Apache Http Client. So I guess one would need to create a custom client with specific configuration for ignoring/trusting the certificate. See for instance this Stackoverflow post.
I was able to solve this problem by added the Custom Root CA to the Java keystore of the JDK being used for maven. Should be the same for Gradle. Thanks for your help.
We have a custom signed SSL certificate which will randomly produce SSL exception such as:
Is there an option to ignore those errors? Like GIT_SSL_NO_VERIFY in Git.