Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome - ssl certificate does not show up after importing from from jks keystore

I have a jks (keystore.jks) that contains both the servers CA certificate (alias serverca) and my certificate (alias mycert) that was signed by that CA. I exported mycert to a .cer file via

keytool.exe -export -alias mycert -storepass mypass -file mycert.cer -keystore keystore.jks

I take that newly created mycert.cer file and import it into chrome

(Settings -> Advanced -> Manage certificates -> Personal -> Import...)

I get an "import successful" message. But after I restarted Chrome I cannot see the mycert.cer file in the chrome certificates. And I also cannot connect to the server. I also added the CA certificate to chrome, still same issue.

Thanks for the help!

like image 638
tenticon Avatar asked Oct 22 '25 20:10

tenticon


1 Answers

You have to let Chrome automatically decide in what certificate archive the certificate should be saved. You probably picked Personal and got a message along the lines of "Certificate imported successfully" even though it didn't.

like image 54
Jing Ma Avatar answered Oct 24 '25 11:10

Jing Ma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!