Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created December 9, 2011 18:34
Show Gist options
  • Save ingydotnet/1452733 to your computer and use it in GitHub Desktop.
Save ingydotnet/1452733 to your computer and use it in GitHub Desktop.
ingy@thinkingy:~/Work/stackato/console/web$ curl -k -v -d "[email protected]&password=admin&unix_password=admin" https://api.stackato.local/stackato/setup
* About to connect() to api.stackato.local port 443 (#0)
* Trying 192.168.1.113... connected
* Connected to api.stackato.local (192.168.1.113) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
* subject: CN=*.stackato.local
* start date: 2011-12-04 19:10:13 GMT
* expire date: 2012-12-03 19:10:13 GMT
* common name: *.stackato.local (matched)
* issuer: CN=*.stackato.local
* SSL certificate verify result: self signed certificate (18), continuing anyway.
> POST /stackato/setup HTTP/1.1
> User-Agent: curl/7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
> Host: api.stackato.local
> Accept: */*
> Content-Length: 59
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 404 Not Found
< Server: nginx/0.7.65
< Date: Fri, 09 Dec 2011 18:33:12 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Keep-Alive: timeout=20
< Vary: Accept-Encoding
< Cache-Control: no-cache
< X-UA-Compatible: IE=Edge
<
* Connection #0 to host api.stackato.local left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
ingy@thinkingy:~/Work/stackato/console/web$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment