| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
JavaCurl problem calling url
From: <lmpcruz_at_sapo.pt>
Date: Sat, 05 May 2007 14:40:01 +0100
Hi to all,
I have installed a Certificate on my computer, and when i try, in
i get this response:
------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
------------------------------------------
however, when i try to do this with JavaCurl (following CurlJ sample)
------------------------------------------
* About to connect() to teste.mbnet.pt port 443
Host: teste.mbnet.pt
Pragma: no-cache
Accept: */*
* Closing connection #0
--------------------------------------------
For what i saw, i guess JavaCurl don't accept P12 format, so i changed
openssl pkcs12 -clcerts -nokeys -in ca.p12 -out ca.pem
There's the options i'm sending in the code:
-------------------------------------------
cg.setopt(CURL.OPT_WRITEFUNCTION, cw);
cg.setopt(CURL.OPT_VERBOSE, 3);
cg.setopt(CURL.OPT_SSL_VERIFYPEER, 0);
cg.setopt(CURL.OPT_SSLCERTTYPE, "PEM");
-------------------------------------------
Am i doing something wrong? Anyone can help me?
Thanks in advanced for any suggestion,
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info