<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 2:18 AM, Mahardhika Gilang <span dir="ltr"><<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>When i put https on it, error come up<br>
Authorization Failure. Authorization Failed: [Errno 1] _ssl.c:504:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol<br></div></div></blockquote><div>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.<br>
<br></div><div>You can verify from the command line with:<br><br></div><div> $ openssl s_client -connect <a href="http://example.com:443">example.com:443</a><br><br></div><div>But its just going to give you the same error.<br>
<br></div><div>By the way, openssl errstr can sometimes be helpful (but not in this case):<br><br> $ /usr/local/ssl/bin/openssl errstr 140770FC<br> error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol<br>
</div><div><br></div><div>Jeff<br></div><div><br>
On 9/24/2013 10:09 PM, Hua ZZ Zhang wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">
<p><font face="sans-serif">try https since you have
enabled it in proxy configuration.</font><br>
<font face="sans-serif">swift -V 2 -A</font><font face="sans-serif"> </font><a href="http://localhost:5000/v2.0" target="_blank"><font color="#0000FF" face="sans-serif"><u>https://localhost:5000/v2.0</u></font></a><font face="sans-serif"> -U admin:admin -K ADMIN stat</font><br>
<font face="sans-serif" size="3">or:</font><br>
<font face="sans-serif">swift --os-auth-url <a href="https://localhost:5000/v2.0" target="_blank">https://localhost:5000/v2.0</a>
--os-tenant-name admin --os-username admin --os-password ADMIN
stat<br>
</font><br>
<font face="sans-serif">-Zhang Hua(Edward)</font><br></p></blockquote></div></blockquote></div></div></div>