3

When an android user opens a https website with untrusted ssl certificate in a browser, he is asked wheter he wants to trust the certificate or not.

How to implement such behavior in my android app without accepting every certificate (like described here HTTPS GET (SSL) with Android and self-signed server certificate )

In my app I want to get data from a website that is not mine and has a self signed certificate.

Community
  • 1
  • 1
karli89
  • 39
  • 1
  • possible duplicate of [Accepting a certificate for HTTPs on Android](http://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android) – Okas Jul 04 '15 at 17:01
  • 1
    Thanks @Okas . The question is the same but none of the answers tells how a user could be asked to accept/decline the certificate. Half of them describe how to trust every certificate, half of them describe how you could add a single certificate manually to the trust store. – karli89 Jul 05 '15 at 00:24

0 Answers0