November 2018
Beginner
180 pages
4h 26m
English
GitLab comes with the ability to automatically fetch and renew certificates from Let's Encrypt for the primary domain and the container registry for you. To get this running, you just need to specify https:// for your external URL while setting up GitLab. Make sure that you don't have any custom SSL certificates loaded (this is discussed in the next section).
If you want to receive notification emails about the certificate expiring soon, you can also add the following line to your /etc/gitlab/gitlab.rb file:
letsencrypt['contact_emails'] = ['foo@example.com']
Make sure to replace foo@example.com with your actual email address and then run the following command ...
Read now
Unlock full access