[lxc-users] Getting the LXD rest api to play nice?

Tycho Andersen tycho.andersen at canonical.com
Wed May 20 18:56:11 UTC 2015


Hi Kevin,

On Wed, May 20, 2015 at 09:59:33AM -0700, Kevin LaTona wrote:
> New twist I would of assumed that using a browser would get some kind of response from LXD rest server.
> 
> Safari would not connect.
> 
> Mozilla's Firefox did not like the self sign cert and made me approve it, which I need.
> 
> Then when I tried to hit LXD rest server  and I got this error message back
> 
> An error occurred during a connection to 192.168.0.50:8443. SSL peer cannot verify your certificate. (Error code: ssl_error_bad_cert_alert)
> 
>     The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
>     Please contact the website owners to inform them of this problem.
> 
> 
> 
> Which seems to be in keeping with all the other issues I have been having going direct in user other methods.
> 
> 
> 
> Which leads me back is any one getting in to the LXD rest server?
> 
> If so, how are you doing it?
> 
> 
> As it seems to me like the SSL cert for the LXD rest server is having issues right now.

The SSL cert LXD uses is generated and not signed by any CA, so your
browser won't respect it (of course, you can click past all the auth
warnings in your browser and actually do a GET if you want).

Tycho

> From all I've read it seems more like a server problem and less of a client problem happening here.
> 
> But by no means am I SSL expert on the finer points of SSL issues deep under the hood.
> 
> 
> Thanks
> -Kevin
> 
> 
> 
> 
> 
> 
> 
> 
> On May 20, 2015, at 8:50 AM, Kevin LaTona <lists at studiosola.com> wrote:
> 
> > 
> > Can I ask is any one else on this list using the LXD rest api  calls yet?
> > 
> > If yes, is it working for you?
> > 
> > If yes, what OS and App are you using to do this with?
> > 
> > Thanks
> > -Kevin
> > 
> > 
> > 
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list