Open link in a new tab

Content

Expand project menu

Cannot use/configure SSL in apache on initial non-ssl installation

I have installed OpenProject on Debian Buster with the recommended package installation without SSL. Everything works. There are no other websites or services running on this system.

Now i have received an SSL-certificate from our CA  (not LetsEncrypt or self-signed)  but i am unable to make the existing installation work with it.

I ran openproject reconfigure the recommended way but upon selecting YES in the SSL-dialogbox nothing happened (i.e. it did not ask for the paths of the cert-files) and after it (sucessfully) finished apache's openproject.conf was left unchanged.

Then i manually added the SSL-options to installer.dat (yes and the cert-paths) and reran openproject reconfigure but the result was the same as above.

Then i added a config to apache to use SSL for all vhosts but with this apache would not start anymore complaining about missing *.conf-files referenced by /etc/openproject/addons/apache2/apache2/....

Upon commenting them out in apaches openproject.conf apache still refused to start complaining that perl was already started and mod_perl cannot be loaded twice.

Here i quit trying it this way.

Then i set up apache and SSL as described for an OpenProject-development server ( https://www.openproject.org/docs/development/localhost-ssl/ ) (apache.conf-file for http and https-vhost with redirect and all proxy-settings inside it; configtest showed no errors), but since this is not a development system i could not find the settings which need to be adjusted inside /opt/openproject/  (sorry, i know nothing about ruby).

Is there a way to reconfigure the installation use this SSL-certificate? It would be really nice to be able to do it with openproject reconfigure .

THX for your input!