curl-users
curl: (58) unable to set certificate file (wrong password?)
Date: Wed, 11 May 2005 19:24:24 +0530
Hi ,
I am new to curl and facing a problem with HTTPS.
First I create a .keystore and get a certificate certificate.crt in X.509
and PEM format using Keystore Explorer 2.3. the password is abcdefg .
Next I use curl to post a request to my server on the Tomcat HTTPS port 8443
(which uses the same .keystore)
The command: curl --data @request.txt POST https://192.2.2.2:8443/server -E
certificate.crt:abcdefg -v
I also tried : curl --data @request.txt POST https://192.2.2.2:8443/server
-E certificate.crt -v
But the got the same error in both the cases :
* About to connect() to 192.168.2.132:8443
* Connected to 192.168.2.132 (192.168.2.132) port 8443
* unable to set certificate file (wrong password?)
* Closing connection #0
curl: (58) unable to set certificate file (wrong password?)
Any help wud be highly appreciated...
Regards,
Sandeep Singh
Received on 2005-05-11