cURL / Mailing Lists / curl-users / Single Mail

curl-users

Question about cURL integration with Tumbleweed secure server for file upload and Windows client

From: Shivaram, Madhukar T <madhukar.t.shivaram_at_citi.com>
Date: Fri, 22 Feb 2013 14:30:24 +0000

Hello,

Can someone please help me with this? I am trying to upload a large file from a Windows client (eventually it will be done from the Unix environment) to the secure server Tumbleweed/Axway. I have masked all the server names/IP address and passwords.

The options I am using are mentioned below.

curl -v -x http://proxy-server:proxy port -T "input file" https://s.s.s.s/ --capath full path to the ca cert --cacert ca cert file name in pem format
-k > o.txt -E cert for the secure server:cert password

_______________________________________________________________________________
log output below:
_______________________________________________________________________________

* About to connect() to proxy proxy-server port nnnn (#0)
* Trying x.x.x.x...
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected
* Connected to proxy-server (x.x.x.x) port nnnn (#0)
* Establish HTTP proxy tunnel to s.s.s.s:443
> CONNECT s.s.s.s:443 HTTP/1.1
> Host: s.s.s.s:443
> User-Agent: curl/7.28.1
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* successfully set certificate verify locations:
* CAfile: allCerts.pem
  CApath: *****
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Request CERT (13):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
} [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS handshake, CERT verify (15):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using RC4-SHA
* Server certificate:
* subject: C=U.S.; ST=Virginia; L=Richmond; O=FMS; OU=TWAI; CN=***
* start date: 2012-06-12 22:49:57 GMT
* expire date: 2022-06-10 22:49:57 GMT
* issuer: C=U.S.; ST=Virginia; L=Richmond; O=FMS; OU=TWAI; CN=***; OU=***; serialNumber=*********
* SSL certificate verify ok.
> PUT /input file HTTP/1.1
> User-Agent: curl/7.28.1
> Host: s.s.s.s
> Accept: */*
> Content-Length: 120292914
> Expect: 100-continue
>
  0 114M 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0< HTTP/1.1 100 Continue
} [data not shown]
 99 114M 0 0 99 114M 0 845k 0:02:18 0:02:18 --:--:-- 879k* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Date: Wed, 20 Feb 2013 20:43:53 GMT
< Server: SecureTransport/5.1
< Set-Cookie: FDX=*****; path=/; Secure
< Accept-Ranges: bytes
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Features: CHPWD;RTCK;STCK;ASC;DNDISP
< Content-Length: 32
< Content-Type: text/plain; charset=UTF-8
<
{ [data not shown]
100 114M 0 32 100 114M 0 844k 0:02:19 0:02:19 --:--:-- 846k
* Connection #0 to host proxy-server left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]

Thanks,
Madhukar Shivaram

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-22