ronivay / xen-orchestra-docker

Xen Orchestra in a docker container
119 stars 41 forks source link

Add openssl to dependencies #5

Closed sheerun closed 4 years ago

sheerun commented 4 years ago

It is needed for creating initial certificates

ronivay commented 4 years ago

Not that it would be a huge change but out of curiosity, could you elaborate what you mean with initial certificates? I'm assuming you mean creating self-signed certificate inside container? There really is no reason to do it like that.

How did you configure HTTPS for xen orchestra? I haven't implemented a way to use custom configuration inside container so take note that if you've edited stuff inside container, it's most likely lost at some point.

sheerun commented 4 years ago

When you start container first time it tries to create certificates by itself. Without openssl there's an error

ronivay commented 4 years ago

Okay. Little more information would've made this more clear in the beginning. It does indeed look like the sdn-controller plugin attempts to create its own self-signed certificates if none exist.

Does therefore make sense to add openssl package to container. Merging.