I followed these steps to install my custom CA cert on an Android device
However, the certificate was still not trusted and I was seeing SSL errors on trying to reach an SSL endpoint using the CA cert.
The issue turned out to be that the Date and time was not set correctly on the device. I fixed the Date and time and the SSL errors went away. Yay!
- adb push mycert.cer /sdcard/
- Go to Settings->Security->Credential storage->Install from device storage
- Select the certificate and install
- Confirm that the certificate is installed in Settings->Security->Trusted credentials->User
However, the certificate was still not trusted and I was seeing SSL errors on trying to reach an SSL endpoint using the CA cert.
The issue turned out to be that the Date and time was not set correctly on the device. I fixed the Date and time and the SSL errors went away. Yay!
No comments:
Post a Comment