I am trying to invoke HTTPS end point using rest template and I am getting SSLException as per below. I have also included code to read truststore info from GCP bucket and set with System and it executing all steps nicely but still can see SSLException during invoke.
org.springframework.web.client.ResourceAccessException: I/O error on GET request for https://XXXXXXXXXXXXXX/public/act/check/GetPostingStatus: Connection reset; nested exception is javax.net.ssl.SSLException: Connection reset at

Connection reset: This typically occurs when the remote server abruptly closes the connection while your application is trying to communicate with it. This can happen for various reasons, including network issues, server overload, or security configurations.
eg. server_cert.jks and client_cert.jks:: you probably forgot to include client-certificates). Ensure that the server's certificate is valid and trusted by the client, and client's certificate is valid and trusted by the server!Useful links: