SSL handshake failure when RestTemplate calls self‑signed HTTPS endpoint in Grails
When a Grails service injects the default RestTemplate to invoke an external HTTPS endpoint that presents a self‑signed certificate, the request fails with an SSL handshake error indicating the certificate chain cannot be validated. The goal is to configure the client to trust that certificate for outbound calls while avoiding unintended side effects on othe