cURL / Mailing Lists / curl-users / Single Mail

curl-users

HTTP/1.1 500 Internal Server Error

From: Khurshid Javed Siddique <kjaved_at_ncs.com.sg>
Date: Mon, 6 Mar 2006 20:53:19 +0800

Hi,

I have downloaded curl 7.15.1 (for Windows) and OpenSSL v0.9.8a to test
HTTPS connectivity with our Server
I have generated SSL certificate on my Server and placed the public key
in the HOME directory of CURL
I have Tried to use both HTTP and HTTPS connection from the CURL client
to our Server, but on both occasion I receive error message

The HTTP command and the error message is as follows
C:\curl-7.15.1>curl -v -T test.txt
http://192.168.135.129:4080/exchange/KJSNCS0001/
* About to connect() to 192.168.135.129 port 4080
* Trying 192.168.135.129... connected
* Connected to 192.168.135.129 (192.168.135.129) port 4080
> PUT /exchange/KJSNCS0001/test%2Etxt HTTP/1.1
> User-Agent: curl/7.15.1 (i586-pc-mingw32msvc) libcurl/7.15.1
OpenSSL/0.9.8a zl
ib/1.2.2
> Host: 192.168.135.129:4080
> Accept: */*
> Content-Length: 7
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< HTTP/1.1 500 Internal Server Error
< Date: Mon, 06 Mar 2006 12:46:34 GMT
< Server: Cyclone HTTP(S) Server
< Transfer-Encoding: chunked
* Connection #0 to host 192.168.135.129 left intact
* Closing connection #0

For HTTPS command and the error message is as follows

C:\curl-7.15.1>curl -v -T "README"
https://192.168.135.129:4082/exchange/KJSNCS0001
* About to connect() to 192.168.135.129 port 4082
* Trying 192.168.135.129... connected
* Connected to 192.168.135.129 (192.168.135.129) port 4082
* SSL: couldn't set callback!
* Closing connection #0
curl: (35) SSL: couldn't set callback!

Can anyone please guide me to use curl client for HTTP/HTTPS
successfully.

Regards,
Javed
Received on 2006-03-06