Enable Native HTTPS Certificate for GitLab Community Edition for Ominbus Installer

I have an Omnibus gitlab installer. I am trying to set an HTTPS URL with a self-signed certificate. I am using Ubuntu 14.04 as my host OS. The following steps are as follows:

Changed by gitlab.rb

external_url 'https://gitlab.example.com'
nginx['redirect_http_to_https'] = true

Create a self-signed certificate with your own name and place it under / etc / gitlab / ssl with a resolution of 600

-rw------- 1 root root 1289 Sep 5 08:38 gitlab.example.com.crt
-rw------- 1 root root 1679 Sep 5 08:38 gitlab.example.com.key

Then I set up and restarting gitlab.

So, when I try to use the new URL: the https://gitlab.example.compage does not load.

Port 443 is open by default, and I can netcap the same.

I follow this blog for customization - GitLab HTTPS with self- configuring

I do not see errors in / var / log / gitlab

- nginx ?

-, , , , - .?

+4
2

" NGiNXd"

, 1374 .

gitlab_rails['registry_key_path'] = "/etc/gitlab/ssl/gitlab.example.com.key"
registry['rootcertbundle'] = "/etc/gitlab/ssl/gitlab.example.com.crt"

. .

+3

SSL/TLS , . , :

sudo ufw allow https
0

Source: https://habr.com/ru/post/1653834/


All Articles