cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: (35) error setting cerficate verify locations

From: Torsten Foertsch <torsten.foertsch_at_gmx.net>
Date: Tue, 15 Jul 2003 11:30:33 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

convert your file.p12 to PEM encoding:

openssl pkcs12 -in file.p12 -nokeys -out file.pem

then --cacert file.pem.

Torsten

On Tuesday 15 July 2003 10:12, denis moeller wrote:
> Hi,
>
> I'm kinda new to this. I've read all the docs concerning certificates, but
> I cannot seem to get it done right.
>
> There's a server I got to send some values to using GET or POST via SSL3.
> They gave me a .p12 file. I'm using the command line version of curl 7.7.1.
>
> I tried this one:
> curl -m 120 -3 --cacert file.p12 https://someip/script?var=something
>
> I always get "curl: (35) error setting cerficate verify locations". What is
> this? Is curl not able to locate the file? Do I have to install the .p12
> somehow?
>
> If I don't use the certificate, the server responses "You don't have
> permission to access ...".
>
> Could anyone point me in the right direction?
>
> TIA
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/E8m8wicyCTir8T4RApEVAJ43d+C8s8Zs6t13XDKf8pH4hcvUWQCgrzrP
PDzgWqnIlE+GD4hNA1CPT18=
=GstF
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
Received on 2003-07-15