mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +03:00
Armel Asselin separated CA cert verification problems from problems with
reading the (local) CA cert file to let users easier pinpoint the actual problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
This commit is contained in:
parent
33acd6f041
commit
4e717cdb30
8 changed files with 22 additions and 6 deletions
|
|
@ -227,6 +227,9 @@ curl_easy_strerror(CURLcode error)
|
|||
return "couldn't use specified SSL cipher";
|
||||
|
||||
case CURLE_SSL_CACERT:
|
||||
return "peer certificate cannot be authenticated with known CA certificates";
|
||||
|
||||
case CURLE_SSL_CACERT_BADFILE:
|
||||
return "problem with the SSL CA cert (path? access rights?)";
|
||||
|
||||
case CURLE_BAD_CONTENT_ENCODING:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue