I've been trying to get CA Certs installed because I'm getting errors when trying to use rosdep init which makes calls to "raw.githubusercontent.com". If I do the same call with wget I'll get the same error:
ERROR: cannot verify raw.githubusercontent.com's certificate, issued by ‘CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer's authority.
I have installed ca-certificates. I also tried this on a fresh install and everything worked fine. However, I cannot reinstall on the machine I am on at the moment, is there a way to resolve this some other way?
I was hoping to find a broader solution and was using wget as an example.
– Joel Holmes Aug 09 '21 at 20:26sudo rosdep initalso canupdate rosdep. Whichca-certificatesversion is installed on your system? – Alca Aug 09 '21 at 20:42Version: 20210119~20.04.1```– Joel Holmes Aug 09 '21 at 21:04ca-certificates? If not can you try reinstalling withsudo apt-get install --reinstall ca-certificates, after that can you confirmDigiCertcertificates are located in/etc/ssl/certs. Here is a output from my system: https://pastebin.ubuntu.com/p/jcCG29xt6w/ – Alca Aug 09 '21 at 21:11--ca-directory=/etc/ssl/certsparam? – Alca Aug 09 '21 at 22:29update-ca-certificates --freshshould do the trick. You can try addingca_directory=/etc/ssl/certsto your wgetrc in your home dir as well as in/etc/wgetrc. Maybe some app you've installed before broke something can you check it? – Alca Aug 09 '21 at 23:48