Hi,

I've noticed a case of curl behaving different from the man page, but
I'm not sure whether the mistake is in the docs or in curl.

The -E option takes an argument of the form certfile[:password] .
The man page states:

> If  the  optional password is not specified, it is queried for on the
> terminal.

However, if I run `curl <url> -E file.p12 --cert-type P12`, it
immediately fails with the following message:

> curl: (58) could not parse PKCS12 file, check password, OpenSSL error 
> error:11800071:PKCS12 routines::mac verify failure

When I run the same command, but specifying :<password> after file.p12,
it works fine. So apparently curl doesn't prompt on the terminal for the
password, so either the man page or the implementation is wrong

regards,
laalsaas
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to