Can someone please guide me on how to add Certificate to Keystore(Android Mobile)...A sample code will be helpfull..
Asked
Active
Viewed 1.5k times
7
-
the certificate is a a.crt certificate. – Alok Gupta Mar 10 '11 at 06:42
1 Answers
6
The keystore format you need is in the BouncyCastle jar, which you need to download. Then you create the keystore. Finally, you will need to extend the HTTPClient.
There's a simple example on how to that in here.

Erez A. Korn
- 2,697
- 3
- 24
- 32
-
2Upvote for pointing to a great resource, but you should probably copy the gist of the matter here, in case the link ever goes down – avalancha Sep 17 '15 at 14:36
-
@Erez A. Korn: The link to the resource is no longer available. – Sarangan Gnanasegaram Nov 21 '18 at 11:11