We are getting this error after upgrading Spring boot 2.3.2 to 2.5.12 - while accessing Https rest endpoint org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.client.HttpClientErrorException$BadRequest: 400 : "Bad RequestThis combination of host and port requires TLS."
I have doubt, RestTemplate converting the url to Http
Pls provide your guidance or any expereince