curl-users
Re: Private key problem
Date: Thu, 05 Dec 2002 13:35:50 +0100
Andrey S. Goncherov wrote:
> Hello curl-users_at_lists.sourceforge.net.
Hello Andrey,
> We trying to connect to authorize.net via https:// but cURL give us
> error and we can't find any problem.
>
> We run it using this string:
>
> ./curl --key ./private.key --cacert ./ca_new.txt -v --cert
> ./www_site_com.crt https://secure.authorize.net/gateway/transact.dll
>
> But curl say:
>
> * About to connect() to secure.authorize.net:443
> * Connected to secure.authorize.net (206.253.210.201) port 443
> * unable to set private key file
> * Closing connection #0
> curl: (58) unable to set private key file
>
> But private.key is correct private key.
Is in www_site_com.crt your certificate ?
the key in --key must match the cert in --cert ...
Bye
Goetz
-- Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de Sonninstr. 24-28, 20097 Hamburg, Germany Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature