I am having a problem with a self-signed web server certificate that I could not install, just open it. I have "CertInstaller (28614): the corresponding private key was not found" in logcat. My decision:
If you want to install new certificates in the cacert store of the Android system when it no longer uses the bks file:
You must have a root, of course.
- You should receive a certificate (export from a browser) in the form of a pem format. PEM is an encoded format, for example:
-----BEGIN CERTIFICATE----- MIIDtjCCAp6gAwIBAgIQRJmNPMADJ72cdpW56tustTANBgkqhkiG9w0BAQUFADB1 ... -----END CERTIFICATE-----
- You need to get a hash for the topic name.
openssl x509 -inform PEM -subject_hash -in yourcert.crt
You will get something like 0d188d89.
You should receive a text version of the certificate.
openssl x509 -inform PEM -text -in yourcert.crt> yourcert.txt
You need to switch the text and pem section in the editor. It should look like this:
-----BEGIN CERTIFICATE----- MIIDtjCCAp6gAwIBAgIQRJmNPMADJ72cdpW56tustTANBgkqhkiG9w0BAQUFADB1 ... -----END CERTIFICATE----- Certificate: Data: Version: 1 (0x0) Serial Number: ...
You will rename the file to "0d188d89.0"
Copy the file using adb or something else to / system / etc / security / cacerts /.
You can verify by simply going to Settings / Security / Trusted Credentials / System. Certificates are sorted by the "Organization" field from the certificates.
Information used from: http://nelenkov.blogspot.de/2011/12/ics-trust-store-implementation.html
source share