Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $curl -k -v -H 'X-Storage-User: system:root' -H 'X-Storage-Pass: testpass' https://192.168.0.2:8080/auth/v1.0
- * About to connect() to 192.168.0.2 port 8080 (#0)
- * Trying 192.168.0.2... connected
- * 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
- .....
- * SSL certificate verify result: self signed certificate (18), continuing anyway.
- > GET /auth/v1.0 HTTP/1.1
- > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
- > Host: 192.168.0.2:8080
- > Accept: */*
- > X-Storage-User: system:root
- > X-Storage-Pass: testpass
- >
- < HTTP/1.1 200 OK
- < X-Storage-Url: https://192.168.0.2:8080/v1/AUTH_system
- < X-Auth-Token: AUTH_tkc0c13e61189949f6bf43319597a7c6c9
- < Content-Type: text/html; charset=UTF-8
- < X-Storage-Token: AUTH_tkc0c13e61189949f6bf43319597a7c6c9
- < Content-Length: 0
- < Date: Thu, 13 Mar 2014 04:50:43 GMT
- <
- * Connection #0 to host 192.168.0.2 left intact
- * Closing connection #0
- * SSLv3, TLS alert, Client hello (1):
- $curl -k -v -H 'X-Auth-Token: AUTH_tkc0c13e61189949f6bf43319597a7c6c9' https://192.168.0.2:8080/v1/AUTH_system
- * About to connect() to 192.168.0.2 port 8080 (#0)
- * Trying 192.168.0.2... connected
- * 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
- ....
- * SSL certificate verify result: self signed certificate (18), continuing anyway.
- > GET /v1/AUTH_system HTTP/1.1
- > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
- > Host: 192.168.0.2:8080
- > Accept: */*
- > X-Auth-Token: AUTH_tkc0c13e61189949f6bf43319597a7c6c9
- >
- < HTTP/1.1 200 OK
- < Content-Length: 14
- < Accept-Ranges: bytes
- < X-Timestamp: 1394595745.80894
- < X-Account-Bytes-Used: 18
- < X-Account-Container-Count: 1
- < Content-Type: text/plain; charset=utf-8
- < X-Account-Object-Count: 1
- < Date: Thu, 13 Mar 2014 04:51:39 GMT
- <
- testcontainer
- * Connection #0 to host 192.168.0.2 left intact
- * Closing connection #0
- * SSLv3, TLS alert, Client hello (1):
- And yet...
- $ cloudfuse -d -o username=system:root,api_key=testpass,authurl=https://192.168.0.2:8080/auth/v1.0,debug=1 /media/runsmart_cloud/
- !!! Sending authentication request.
- * About to connect() to 192.168.0.2 port 8080 (#0)
- * Trying 192.168.0.2... * connected
- * successfully set certificate verify locations:
- * CAfile: none
- CApath: /etc/ssl/certs
- * SSL certificate problem, verify that the CA cert is OK. Details:
- error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
- * Closing connection #0
- * Peer certificate cannot be authenticated with given CA certificates
- Failed to authenticate.
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement