CURLE_PEER_FAILED_VERIFICATION (60) Show The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK. This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its previous value was 51. That wasn't particularly helpful in diagnosing it, though. This isn't a Canvas specific issue, it's happening because your programming language isn't able to find the SSL certficates so it should happen with any current SSL certificate. I had this problem with PHP until I told it where the cacert.pem file was located or told it not to check by setting the CURL_SSL_VERIFYPEER option to false. Specific instructions depend on what operating system and programming language you're using, but you didn't provide any of that information. The best I can do is give generic instructions about what the problem is and general remedies. The long term solution is to make sure you have up-to-date certificates and that your programming language can find them. The short term solution is to add -k or --insecure to the curl command line, which should disable the checking (hence the insecure). Since it's not a Canvas issue per se, searching the Internet without Canvas will more likely find better solutions. Here's the first one that popped up on Google when I searched and it seems to have some useful information in it: curl: (60) SSL certificate : unable to get local issuer certificate
How do I fix curl 60 SSL certificate?Locate the curl certificate PEM file location 'curl-config --ca' -- > /usr/local/etc/openssl/cert.pem.. Use the folder location to identify the PEM file 'cd /usr/local/etc/openssl'. Create a backup of the cert.pem file 'cp cert.pem cert_pem.bkup'. How do I fix SSL curl error?How to fix cURL “Invalid certificate chain” error. 1 Understanding Certificate Chain.. 2 Disable SSL verification.. 3 Manually trust the certificate (macOS only). 4 Disable http.sslVerify (Git users only). 5 Debug certiticate chain using free online tools.. How do I ignore SSL certificate in curl?To bypass SSL certificate validation for local and test servers, you can pass the -k or --insecure option to the Curl command. This option explicitly tells Curl to perform "insecure" SSL connections and file transfers. Curl will ignore any security warnings about an invalid SSL certificate and accept it as valid.
How do you curl with Cacert?It does this by checking the CA bundle it was built to use, or instructed to use with the –cacert command line option.. Update your OS CA store. ... . Get an updated CA bundle from us. ... . Get it with openssl. ... . Get it with Firefox.. |