2

I have the CA certificate on my mac book but I need to send it to my ubuntu laptop so I can access school wifi. How would I go about it?

Artur Meinild
  • 26,018

1 Answers1

3

You're not telling us your version of Ubuntu, but I'm trusting it's recent enough so that the current set of instructions on the official Ubuntu documentation are sufficient.

You can find it here: https://ubuntu.com/server/docs/security-trust-store

It includes both the installation and the conversion if it is passed to you in a different format.

In the former case, what you need to is run the following in a terminal window:

$ sudo apt-get install -y ca-certificates
$ sudo cp <your_school_certificate_file> /usr/local/share/ca-certificates
$ sudo update-ca-certificates

If there are errors, which can refer to the file being in a wrong format (e.g. DER, when it must be in PEM), you can attempt to resolve it by formatting the file, again, in the terminal:

$ sudo openssl x509 -inform der -outform pem -in <your_school_certificate_file.der> -out <your_school_certificate_file.crt>