I'm using Ubuntu 18.04
I'm trying to access a file on another server using CURL. The other server has a Commodo/PositiveSSL certificate, and CURL reports that:
curl: (60) SSL certificate problem: unable to get local issuer certificate
I HAD been using a self-signed certificate, but have replaced it and with a genuine cert specifically to not have to deal with SSL warnings.
One tip I read said to uninstall openssl and ca-certificates, and reinstall, which I did, and I still get the error. I checked the certificate itself to make sure I wasn't using the self-signed by accident with
openssl s_client -connect my-other-server.example.com:443, and that query shows that I am indeed using the newly issued certificate.
So, either I need to import the Komodo/PositiveSSL root certificate, or CURL is using a cached version.
Anyone have any ideas?