Skip to content

Instantly share code, notes, and snippets.

@willglynn
Created November 14, 2012 14:35
Show Gist options
  • Save willglynn/4072470 to your computer and use it in GitHub Desktop.
Save willglynn/4072470 to your computer and use it in GitHub Desktop.
curl from S3 HTTPS
$ curl -O -v https://s3.amazonaws.com/willglynn/physfs-2.1.0-pre20121013.tgz
* About to connect() to s3.amazonaws.com port 443 (#0)
* Trying 207.171.163.13...
% 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 s3.amazonaws.com (207.171.163.13) port 443 (#0)
* 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, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [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-MD5
* Server certificate:
* subject: C=US; ST=Washington; L=Seattle; O=Amazon.com Inc.; CN=s3.amazonaws.com
* start date: 2010-10-08 00:00:00 GMT
* expire date: 2013-10-07 23:59:59 GMT
* common name: s3.amazonaws.com (matched)
* issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)09; CN=VeriSign Class 3 Secure Server CA - G2
* SSL certificate verify ok.
> GET /willglynn/physfs-2.1.0-pre20121013.tgz HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: s3.amazonaws.com
> Accept: */*
>
< HTTP/1.1 200 OK
< x-amz-id-2: aA1Ak7WMzyx55sk44X46PimiWrOx9k3WyXBNnSYOZ/PJaj72IXhTY4ZWewTLnbiw
< x-amz-request-id: B9D3DB9F82CB550A
< Date: Wed, 14 Nov 2012 14:34:10 GMT
< Last-Modified: Wed, 14 Nov 2012 03:18:47 GMT
< ETag: "3c61e5291a5a62a5b32540493ccd61f6"
< Accept-Ranges: bytes
< Content-Type: application/x-compressed
< Content-Length: 561554
< Server: AmazonS3
<
{ [data not shown]
100 548k 100 548k 0 0 504k 0 0:00:01 0:00:01 --:--:-- 893k
* Connection #0 to host s3.amazonaws.com left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment