Reputation: 111
I am trying to install a certificate on Oreo version of Android. I have downloaded the certificate on internal storage and the format is .cer
and pin is set for lock screen.
I have tried following steps:
Settings-- Security & Lockscreen-- Credential storage-- Install from storage--
I can see the cert file but it is greyed out and there is no option to select it.
Is there any way to do it?
Upvotes: 11
Views: 16267
Reputation: 33678
I had to rename the certificate file from .der
to .crt
, then I could install it.
Upvotes: 1
Reputation: 689
On my Android 8.1 (Oreo) device, all .der
certificates were grayed out, but @brianwood's approach did not work for me. Instead I needed to convert the .der
file to .pem
before Android would allow it to be installed. The procedure was:
brew install openssl
for MacOS or sudo apt-get install openssl
for some Linux distributions).pem
via the command:openssl x509 -inform der -in <filename>.der -out <filename>.pem
.pem
file to your Android device (e.g., via Google drive)Upvotes: 4
Reputation: 1711
Had the same problem here - Certificates in the download directory were all greyed out.
Pretty sure it's a bug - here's the workaround that worked for me.
I was navigating to the file via the Download shortcut in the Open from sidebar. Instead, don't use the shortcut. From the Open from sidebar, select the base phone storage (labelled as your phone name) and navigate to your Downloads directory manually. Now, my certs can be selected.
Upvotes: 31