Hi,

I'm trying to import a self-signed SSL cert into the keystore. I've


  1. exported it using Firefox
  2. Placed it ( LMN.pem ) at /usr/share/ca-certs
  3. Executed update-ca-certificates


The output however is

update-ca-certificates
Updating certificates in /etc/ssl/certs...
1 added, 0 removed.
creating /var/lib/ca-certificates/ca-bundle.pem ...
creating /var/lib/ca-certificates/java-cacerts ...
imporing LMN.pem failed: java.io.IOException: Incomplete data
2 added, 1 removed.


What am I doing wrong?

Thanks,

Robert