I have an LFS system (11.0) with openssl. Whenever I use wget, I get an error that the certificate is not trusted. Where do I get and put trusted certificates?

  • Not enough info. Check whether certs are in /etc/ssl/certs. Extract the root cert or the self-signed for the remote system and install it into /usr/share/pki/trust/anchors or where ever your system stores user root certs and run update-ca-certificates, or your o/s's equivelent. Alternatively, run wget --no-check-certificate to just ignore the requirement.
    – Bib
    Feb 2, 2022 at 19:08

1 Answer 1


This is described in the LFS book

  • Put your certificate into /etc/ssl/local/your_cert.pem. Note: The extension must be *.pem.
  • Run make-ca -g --force

You must log in to answer this question.

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