0

I am trying to make a OData query to service through HTTPS with Restlet. First, I got "Not trusted server certificate" error. So I have followed http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates and added the cert to keystore. Now I am able to create HTTPS request-response properly. But only when I use org.apache.http.impl.client.DefaultHttpClient class.

I dont know how to apply this for Restlet classes. Or can I somehow tell Restlet to use my own DefaultHttpClient.

Thank you very much.

user1135839
  • 563
  • 2
  • 7
  • 14

1 Answers1

0

See this wiki link on how to set Apache HTTP Client for restlet on Android.

Diederik
  • 5,536
  • 3
  • 44
  • 60