Secure GitLab Server with a Commercial SSL Certificate After purchasing your certificate, download the Certificate file and put it with the private key to the /etc/gitlab/ssl/ directory. Under the ## GitLab NGINX section, enable Nginx and provide SSL key and certificate paths.