From d413089e03daf58be2d6a12648d7cd3312e1fff8 Mon Sep 17 00:00:00 2001 From: davvied <52329830+davvied@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:29:57 +0330 Subject: [PATCH] added arch --- misc/ssl-certs.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/misc/ssl-certs.md b/misc/ssl-certs.md index 0b6e2ea..045c512 100755 --- a/misc/ssl-certs.md +++ b/misc/ssl-certs.md @@ -70,6 +70,21 @@ update-ca-trust ``` Refer the documentation [here.](https://docs.fedoraproject.org/en-US/quick-docs/using-shared-system-certificates/) +### On Arch +System-wide – Arch(p11-kit) +(From arch wiki) +- Run (As root) +```bash +trust anchor --store myCA.crt +``` +- The certificate will be written to /etc/ca-certificates/trust-source/myCA.p11-kit and the "legacy" directories automatically updated. +- If you get "no configured writable location" or a similar error, import the CA manually: +- Copy the certificate to the /etc/ca-certificates/trust-source/anchors directory. +- and then +```bash +update-ca-trust +``` +wiki page [here](https://wiki.archlinux.org/title/User:Grawity/Adding_a_trusted_CA_certificate) ### On Windows @@ -97,4 +112,4 @@ The exact steps vary device-to-device, but here is a generalised guide: 4. Choose `CA Certificate` 5. Locate the certificate file `ca.pem` on your SD Card/Internal Storage using the file manager. 6. Select to load it. -7. Done! \ No newline at end of file +7. Done!