I have trouble with loading .p12 certificate to my android.project. Here is chank of source code:
char[] password = "<my pass>".toCharArray();
FileInputStream fIn = new FileInputStream("<name of cert>");
KeyStore keystore = KeyStore.getInstance("PKCS12");
keystore.load(fIn, password);
On line 2 occured error openning cert file.
Can anybody help me. How can i properly to add cert file to my android program?
may find that the following link a better place to start:
https://developer.android.com/studio/publish/app-signing.html#signing-manually
Try this