Hi All,

I have a query regarding accessing a x509 certificate installed on the 
device. 

*Scenario

*My app needs to make a HTTPS connection to retrieve data from the server. 
So to do this, I right now provide the certificate in the application say 
at (res/raw) and while making the connection I use  this certificate, which 
works fine. But my requirement now is to access the certificate installed 
on the device instead of providing it along with the application.

*Question

*Is it possible for the android OS (like on iOS) to pick up the certificate 
automatically when I make a HTTPS connection as the certificate is already 
available on the device trust store. If not is there a way to at least 
programatically access the certificate which i can use to make the 
connection.

Any help in this regard will be much appreciated.

Regards,
Suhas
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to