Open link in a new tab

Content

Expand project menu

OP setup on Ubuntu 18.04 with self signed certificate?

Hi all, could someone explain to me in detail or redirect me to the right place to set up open project on Ubuntu 18.04 with self signed certificates?

Message actions

I set mine up on Ubuntu 18.04 with certificates from Let's Encrypt (I believe there are advantages to using them as a CA rather than using self-signed certificates). I found it to be fairly straightforward. The guide from Let's Encrypt takes you through EFF's "certbot", which has a plugin for Apache. These are the steps for basic install:

  1. install apache2.
  2. pull in the certbot repository and install certbot.
  3. use certbot to generate certificates, but don't install them in apache ("certbot certonly...")
  4. certbot will tell you that files "fullchain.pem" and "privkey.pem" have been created.
  5. install openproject.
  6. run "openproject configure",
    1. Say "yes" to SSL. 
    2. When prompted for your "cert", give the path to the "fullchain.pem" file.
    3. When prompted for your "key", give the path to the "privkey.pem" file.
    4. For the "CA", leave it blank.

I believe with these steps, openproject's auto-configure took care of the rest.

Message actions

Hi Zack,

your steps are exactly right. Some more information regarding renewal and certbot output can be found in our FAQ on the download and installation page.

Best,

Oliver