Issue
I have an Omnibus gitlab installer. I am trying to setup an HTTPS url with self signed cert. I am using Ubuntu 14.04 as my Host OS. The steps im following are:
external_url 'https://gitlab.example.com'
nginx['redirect_http_to_https'] = true
Create Self signed cert with proper name and place it under /etc/gitlab/ssl with permission 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 did gitlab-reconfigure and restart.
So when i try the new URL: https://gitlab.example.com
the page doesn't load.
The port 443 is open by default and i am able to netcap the same.
I am following this blog for setup - GitLab HTTPS with selfsigned
I dont see any errors under /var/log/gitlab
Is there any additional nginx config required for self signed cert?
Can someone please let me know what logs I should be looking for and am i missing any steps.?
Solution
The official documentation is "Settings NGiNXd"
Check if issue 1374 is relevant in your case.
gitlab_rails['registry_key_path'] = "/etc/gitlab/ssl/gitlab.example.com.key"
registry['rootcertbundle'] = "/etc/gitlab/ssl/gitlab.example.com.crt"
You do not need to specify these two as per documentation on enabling Registry. These two are for internal communication and are auto generated.
Answered By - VonC Answer Checked By - Clifford M. (WPSolving Volunteer)