0

I have to intall a SSL certificate in android device, so that it can be accessed from each browser and other application for Single Sign ON (SSO). I can not go for Root access. Is there another way ? I just need to ensure is it possible that I can install the SSL certificate in somewhere around (in certificate store / common place) of android device. Which can be used for SSO by other applications and browser.

Swapnil Kale
  • 2,620
  • 2
  • 23
  • 21

2 Answers2

2

There are a bunch of ways. Some more complicated than others. Here are some links:

Community
  • 1
  • 1
Anup Cowkur
  • 20,443
  • 6
  • 51
  • 84
  • Hi Anup , I am new to android, Do you propose to use the keystore here. Also , In the first link "Work with certificates " page is not available. – Swapnil Kale Aug 29 '13 at 12:29
  • The keystore method would be the easiest if you want to accept only your cert. Usually, in debugging, I enable all certs from any provider (basically by-passing HTTPS) and I enable it back in production. – Anup Cowkur Aug 29 '13 at 12:32
  • No, I want to accept all the other cert in browser, with my cert. Hence, as you suggested ,keystore will not work. I have gone through the links , but every where the root access was needed. I want to make sure that the SSO will work and certificate will be available without root acces to my application and other browsers on device. – Swapnil Kale Aug 29 '13 at 12:58
  • You cannot modify the browser so that it accepts all SSL certs. You can only modify the certs accepted by your own app. – Anup Cowkur Aug 29 '13 at 13:01
  • Okey, Also I need to mention, that there are n number of application which will need this certificate. So is there another way that, my all the applications cab access this certificate. Since Keystore will be a solution for one application and not a generic solution. Can you please provide me more information regarding the issue. – Swapnil Kale Aug 29 '13 at 13:10
  • You have two options: (1) Bypass HTTPS on all debug versions and enable in production or (2) Create a keystore as mentioned in the last link and use the same keystore for all your apps. – Anup Cowkur Aug 29 '13 at 13:13
1

The issue seems to be not possible on android . I found an issue registered for the same https://code.google.com/p/android/issues/detail?id=53491

Native app, can not access the certificate stored in keystore not even through webview.

Swapnil Kale
  • 2,620
  • 2
  • 23
  • 21