How to use rootcert.pem certificate with curl?
You could try to use key --cacert
or separate this certificate to three different files, put them in one directory and use key --capath
.
curl --cacert ~/cert.pem https://yoursite.tld
or
curl --capath ~/certdir/ https://yoursite.tld