at school the wifi network is wpa2 with peap and mschapv2 requireing a certificate to authenticate and connect along with user name and password

i have obtained a copy of the certificate from the school's it technitians

in ubuntu to add the certificate i copied it into /usr/share/ca-certificates/extra and then ran sudo dpkg-reconfigure ca-certificates which gided me through the screens below image 1 Image 2

and gave the output image 3 however i would now like to move from ubuntu to arch linux but have been un able to add the certificate and connect to the network could anyone please tell me what the equivilent command is in arch.

3 Answers 3


Use the trust command provided by the p11-kit package:

sudo trust anchor --store ~/my-ca-cert.crt


I cannot find anything on the Arch wiki about installing ca certificates. There was a news update in 2014. The certificate needs to be added to /etc/ca-certificates/trust-source/anchors/ and must have a .crt extension. Then run trust extract-compat. Details of the process can be found with man 8 update-ca-trust.

  • I have already tried this but it produces no results Nov 27, 2017 at 10:04
  • Try to append your cert to /etc/ssl/certs/ca-certificates.crt. For me, cat /etc/squid/ssl_cert/squid.crt >> /etc/ssl/certs/ca-certificates.crt did the trick. Jan 28, 2018 at 0:42

Similar to the answers above in 2022 in Arch Linux I had to:

cp my-ca.crt /etc/ca-certificates/trust-source/anchors/
update-ca-trust extract

I then saw my custom CA added at the top of /etc/ssl/certs/ca-certificates.crt

On Chrome based browsers I also added my custom CA under:

  • Privacy & Security => Manage certificates => Authorities => Import

I used xca to create the CA & server certificate with these helpful notes.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .