Built Xen Orchestra from source on Debian 8 but having difficulty enabling https. I’ve tweaked .xo-server.yaml over and over and tried different certificates with no luck. Each time I start xo with https enabled I get the following error:

Cannot read property ‘certificate’ of null

6 Spice ups

I hate that term “built from source.” It’s just a normal script install. I know that XO uses this term incorrectly to make it sound scary. But it is just “installed normally” like any script. There is no build process. That term refers to compiling source code into binary. that doesn’t happen here. You just download the app and run it.

1 Spice up

We’ve only done this on Ubuntu. No reason that Debian should not work, but we only test on Ubuntu.

You can find the most recent installation instructions here for what most everyone I know is using to install the community edition with.

As for https, I’ve not bothered to look into it as the system is internal, and I know I can trust communication to and from it.

2 Spice ups

I’ve run the installation on Debian and it did work (was a while ago) but I know for a fact it works.

The developer team installs to Ubuntu though.

1 Spice up

Have you tried the same process on another OS as a test, or do you only use Debian at your work?

The OS isn’t the issue, Ubuntu server or Debian are capable of it. Its a configuration setting somewhere.

I’m sure asking for help on Xen Orchestra | XCP-ng and XO forum would be able to get this straightened out.

Might be best to have Nginx in front of it as a reverse proxy for SSL.

2 Spice ups

I originally tried it with CentOS which I’m most comfortable with but ran into trouble so I followed this guide which was validated with Debian 8:

https://xen-orchestra.com/docs/from_the_sources.html

Is anyone here using it with HTTPS now? I don’t mind starting over if I can get confirmation of a working OS/script combo.
https://xen-orchestra.com/docs/from_the_sources.html

I believe reverse proxy is the common way to have https in nodejs applications

1 Spice up

I’m going to start over with Dustin’s script on Ubuntu as I don’t have the ability to import my config in Orchestra now. I’ll also try using Nginx as a reverse proxy.

1 Spice up