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