In local development, where I have an API server running at https://localhost:8443
that uses a self signed certificate, I am (expectedly) greeted with the following error when trying to connect to it from my other grails app that uses RestClientBuilder (http://grails.org/plugin/rest-client-builder)
Message: unable to find valid certification path to requested target
I couldn't find any way of configuring RestClientBuilder to accept non trusted certificates. Note it is not an option for me to connect to the local server with plain http.
I will accept an answer that lets me configure my entire grails app (not just RestClientBuilder) to allow https connections to self signed certs only when running in development