[mono-android] Handling certificates - A short HowTo, please
moelski
dominik at logview.info
Mon Nov 7 09:19:36 EST 2011
Hi !
Some more Details about our problem ...
We have a certification path:
We have to import the certificates into the android. So we exported them as
"DER encoded binary x.509 (.CER)" and renamed them to ...CRT.
No we where able to copy the certificates to the SD card of the android
device and could install them through Security ... Install from SD ...
After that the certificates where located in
*/data/misc/keystore/*
/
We doublechecked the certificates with a clean windows XP. We imported the
certificates and test the connection to the same URL we use on the droid
device. This works fine. So basically the certificates are ok. /
Now we need to consume a webservice and established a
ServerCertificateValidationCallback delegate like this:
This function reports errors:
RemoteCertificateNameMismatch, RemoteCertificateChainErrors
And the FOREACH lists only one certificate and that is not valid
Element certificate is valid: False
And now we have no idea how to handle this problem ...
Greetings
Dominik
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Handling-certificates-A-short-HowTo-please-tp4970939p4971239.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list