I started to look in to ssl certificates when I stumbled upon let\'s encrypt, and I wanted to use it with gitlab, however being that it is running on a raspberry pi 2 and its ru
I have no idea if the installation differs on a Raspberry Pi. Let's Encrypt installation process does some magic I don't know anything about.
Type grep 'external_url' /etc/gitlab/gitlab.rb
to check the website name. As an example https://gitlab.example.com:50000
If your external URL does not start with https
, change it to begin with https
The part in bold will be your
Follow the Let's Encrypt install instructions on this link: https://letsencrypt.org/howitworks/
I'm not copying the instructions since they may change (as the program is in open beta right now). What you have to run depends on whether you also have websites running on Apache you want to generate Let's Encrypt certs for.
Once you have generated your Let's Encrypt certificates, they are located in /etc/letsencrypt/live/
Gitlab expects two files located in /etc/gitlab/ssl/
There's something I'm not sure about, you may have to convert the .pem certificates using the answer at this location: Convert .pem to .crt and .key
Copy the certificate from /etc/letsencrypt/live/
to /etc/gitlab/ssl/
Copy the private key from /etc/letsencrypt/live/
to /etc/gitlab/ssl/
Run gitlab-ctl reconfigure