I am calling an external Rest endpoint in my application. But I am getting the following error:
The response body does not contain an access token
org.springframework.web.client.ResourceAccessException: I/O error on POST request for
"https://example.com/api/auth": Unsupported or unrecognized SSL message; nested exception is
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
In this context, I found an article as follows:
Unrecognized SSL message, plaintext connection? Exception
But, I did not find this useful, as I am talking to an HTTPS server with port number 443.
Can this happen because of the whitelisting, I mean the HTTPS server endpoint, that I am connecting to, is not whitelisted yet?