[Openstack-operators] cyberduck interface to swift ??

Shi Jin jinzishuai at gmail.com
Tue Apr 26 18:17:54 UTC 2011


I was able to login to swift using https, just have to confirm continue when
cyberduck prompts about the SSL self signed certificate.

I am also curious about having cyberduck to connect to S3 with plain http
instead of https.

Shi

On Tue, Apr 26, 2011 at 7:22 AM, shashidhar v <
shashidhar.velagandula at gmail.com> wrote:

> Hi,
>
> I have deployed swift-1.4 dev(SAIO) service running on a test node , able
> to create the accounts and do upload/download of files using the "st" tool
> by following doc of SAIO
>  Test node swift service is enabled with SSL using self signed certs. and
> uses swauth authentication
>
> And, then I have installed the Cyberduck-Installer-4.0.2.exe on windows xp
> and windows vista machines , but when I open connection to swift service
> running on test node it throws error as login failed
>
> swift at test3:~$ swift at test3:~$ st -A https://192.168.62.63:8080/auth/v1.0-U system:root -K testpass stat
>    Account: AUTH_4b3f583b-a3e9-4abe-8aef-44d333ab8b3f
> Containers: 0
>    Objects: 0
>      Bytes: 0
> Accept-Ranges: bytes
> swift at test3:~$
> swift at test3:~$
> swift at test3:~$ st -A https://192.168.62.63:8080/auth/v1.0 -U system:root
> -K testpass list
> swift at test3:~$
> swift at test3:~$ curl -k -v -H 'X-Storage-User: system:root' -H
> 'X-Storage-Pass: testpass' https://192.168.62.63:8080/auth/v1.0
> * About to connect() to 192.168.62.63 port 8080 (#0)
> *   Trying 192.168.62.63... connected
> * Connected to 192.168.62.63 (192.168.62.63) port 8080 (#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: C=IN; ST=KARNATAKA; L=BANGALORE; O=CDAC; OU=CTSF;
> CN=swift; emailAddress=shashidharv at ctsf.cdac.org.in
> *        start date: 2011-04-25 05:45:12 GMT
> *        expire date: 2011-05-25 05:45:12 GMT
> *        common name: swift (does not match '192.168.62.63')
> *        issuer: C=IN; ST=KARNATAKA; L=BANGALORE; O=CDAC; OU=CTSF;
> CN=swift; emailAddress=shashidharv at ctsf.cdac.org.in
> *        SSL certificate verify result: self signed certificate (18),
> continuing anyway.
> > GET /auth/v1.0 HTTP/1.1
> > User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k
> zlib/1.2.3.3 libidn/1.15
> > Host: 192.168.62.63:8080
> > Accept: */*
> > X-Storage-User: system:root
> > X-Storage-Pass: testpass
> >
> < HTTP/1.1 200 OK
> < X-Storage-Url:
> https://192.168.62.63:8080/v1/AUTH_4b3f583b-a3e9-4abe-8aef-44d333ab8b3f
> < X-Storage-Token: AUTH_tka5f5ea0695bd4cadb5a4b624c5418f22
> < X-Auth-Token: AUTH_tka5f5ea0695bd4cadb5a4b624c5418f22
> < Content-Length: 117
> < Date: Tue, 26 Apr 2011 12:48:39 GMT
> <
> * Connection #0 to host 192.168.62.63 left intact
> * Closing connection #0
> * SSLv3, TLS alert, Client hello (1):
> {"storage": {"default": "local", "local": "
> https://192.168.62.63:8080/v1/AUTH_4b3f583b-a3e9-4abe-8aef-44d333ab8b3f
> "}}swift at test3:~$
> swift at test3:~$
>
>
> Using st tool I am able upload/download the files but using cyberduck
> interface , login itself is failed
>
> Kindly help me to resolve this login error ,  any doc. which  describes
> about cyberduck interface to swift will be helpful
> <http://cyberduck.ch/windows/Cyberduck-Installer-4.0.2.exe>
> I have checked the related doc. present under
> http://swift.openstack.org/howto_cyberduck.html  but it describes about
> source build of cyberduck not the binary version
>
> Is it possible to specify "http" protocol  instead of "https" using
> cyerduck to contact swift service ?
> kindly help me
>
> Thanks & Regards,
> shashi
>
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>


-- 
Shi Jin, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110426/e7d036b3/attachment-0002.html>


More information about the Openstack-operators mailing list