[mono-android] Handling certificates - A short HowTo, please

moelski dominik at logview.info
Mon Nov 7 06:41:37 EST 2011


Hi !

I have an application which communicates with a web services. And this works
great. 

But now I must use a secure SSL connection. 

So I changed my service URL to https and changed the Port to the SSL Port. 
In addition I inserted a 
ServicePointManager.ServerCertificateValidationCallback = delegate { return
true; };
So far so good 
This works. 

Now I need to install the public certificate on the Android. And there are
some questions left ...

1) How to install the public certifictae on the android device? 
2) Where is the certificate stored on the device? 
3) How to implement a real ServerCertificateValidationCallback function?
4) How can I automatically install the public certificate(s) if the user
installs the application on his device? 

Hope on any help

Regards
   Dominik

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Handling-certificates-A-short-HowTo-please-tp4970939p4970939.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list