0

Possible Duplicate:
How to get a response from a https server using android sdk?

hi, I am doing a https post and I'm getting an exception of ssl exception Not trusted server certificate. If i do normal http it is working perfectly fine. Do I have to accept the server certificate somehow?

Community
  • 1
  • 1
VenkaReddy
  • 2,871
  • 2
  • 27
  • 29

2 Answers2

0

try this...

Https Connection Android

Community
  • 1
  • 1
Siten
  • 4,515
  • 9
  • 39
  • 64
0

Can you access that HTTPS URL directly from your web browser? Or do you also get an error in that situation? Access it directly first to ascertain that the certificate is actually valid for that domain.

Tash Pemhiwa
  • 7,590
  • 4
  • 45
  • 49