-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add details to error: "unable to set client certificate" #9228
Conversation
Isn't the OpenSSL detailed error displayed as a debug log?
|
At that point I think it would be better to write a wrapper function for |
"debug log" is for developers. I think it is easier for a user to try to interpret, for example, the message "ee key too small" that enable debug log. |
That's a horribly user hostile way to phrase the error, but I can't really think of how it can be improved easily... |
On Sun, Jul 31, 2022 at 02:30:33AM -0700, opensignature wrote:
"debug log" is for developers.
Debug log is for anyone who needs more information about an error than is
displayed in the error messages. There are plenty of cases where this is the
case.
|
ok, sorry, maybe I don't know curl very well but which debug log are you referring? "This curl uses a libcurl built with Debug. This enables more error-tracking curl/docs/cmdline-opts/version.d Line 31 in df45fd1
|
On Mon, Aug 01, 2022 at 01:21:18AM -0700, opensignature wrote:
ok, sorry, maybe I don't know curl very well but which debug log are you
referring?
It's also called the verbose log. It's the one you get with the -v option on
the command-line or the CURLOPT_DEBUGFUNCTION in libcurl.
"This curl uses a libcurl built with Debug. This enables more error-tracking
and memory debugging etc. For curl-developers only!" [1]
That's something completely different. That refers to enabling a debug build
with the --enable-debug configure option.
|
With the -v option curl shows "unable to set client certificate" only. |
thanks! |
error "unable to set client certificate" is, imho, too generic.
I would add the message from openssl.
In my case:
from: "curl: (58) unable to set client certificate"
to: curl: (58) unable to set client certificate [error:0A00018F:SSL routines::ee key too small]