From 41fbd608f4e8d26d5738267cc18d213281989a85 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 7 Oct 2022 10:20:25 +0200 Subject: [PATCH] Added how to use DNF from behind a proxy --- knowledge base/fedora linux.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/knowledge base/fedora linux.md b/knowledge base/fedora linux.md index 1f62242..dc85243 100644 --- a/knowledge base/fedora linux.md +++ b/knowledge base/fedora linux.md @@ -34,8 +34,16 @@ sudo systemctl start zfs-fuse.service sudo zpool import -a ``` +## Use DNF from behind a proxy + +Either: +- add the line `sslverify=0` to `/etc/dnf/dnf.conf`; **not suggested**, but a quick fix +- add the proxie's certificate, in PEM format, to the `/etc/pki/ca-trust/source/anchors/` folder and then run `sudo update-ca-trust`. + ## Sources - [RPM fusion configuration] +- [DNF update from behind SSL inspection proxy] +[dnf update from behind ssl inspection proxy]: https://molo76.github.io/2017/07/04/dnf-update-behind-ssl-inspection-proxy.html [rpm fusion configuration]: https://rpmfusion.org/Configuration