-
May 23rd, 2012, 04:10 PM
#1
Spring 3.1 RestTemplate with Https
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules