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?
1 Answer
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
/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 runupdate-ca-certificates
, or your o/s's equivelent. Alternatively, runwget --no-check-certificate
to just ignore the requirement.