I have a working Rest client with Spring 3.1. But I wish to use a Https endpoint (with a valid certificate), no login is required.
What is the bacic code I need impliment the change.

Changing the url to https//... doesnt seem. I have tried using

restTemplate.setRequestFactory(new HttpComponentsClientHttpRequestFactory());

on the basis that the factory's source seams to be initilizing https components.

Any pointers would be appreciated.