[Openstack] Swift not detect Keystone and Authtoken

Jeffrey Walton noloader at gmail.com
Thu Sep 26 07:14:08 UTC 2013


On Thu, Sep 26, 2013 at 2:18 AM, Mahardhika Gilang <
mahardika.gilang at andalabs.com> wrote:

>  When i put https on it, error come up
> Authorization Failure. Authorization Failed: [Errno 1] _ssl.c:504:
> error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
>
SSL/TLS is not enabled on the server or port you are connecting. It might
not be properly configured on the server; or it might be on the server but
not the port you are connecting.

You can verify from the command line with:

    $ openssl s_client -connect example.com:443

But its just going to give you the same error.

By the way, openssl errstr can sometimes be helpful (but not in this case):

    $ /usr/local/ssl/bin/openssl errstr 140770FC
    error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Jeff

On 9/24/2013 10:09 PM, Hua ZZ Zhang wrote:

>  try https since you have enabled it in proxy configuration.
> swift -V 2 -A *https://localhost:5000/v2.0* <http://localhost:5000/v2.0> -U
> admin:admin -K ADMIN stat
> or:
> swift --os-auth-url https://localhost:5000/v2.0 --os-tenant-name admin
> --os-username admin --os-password ADMIN stat
>
> -Zhang Hua(Edward)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130926/7bbab9ee/attachment.html>


More information about the Openstack mailing list