I'm trying to connect to a web server via HTTPS, but response.getBody() returns null however I want to return a JSON array. The statusCode is 200 and the headers contain the correct information, but the response body is null. I'm using the standard Spring RestTemplate API for this purpose specifically postForEntity(). Maybe in order to do this I have to use some special Spring API?
Unfortunately I couldn't find any information about HTTPS support and SSL/'TLS' certificates in the Spring REST documentation (it is quite limited).