Use Gitlab with SSL on DigitalOcean
I’d like to setup my own Gitlab EE server with the prebuilt app from Digital Ocean served with HTTPS. The application works but I can’t get it to use the Let’s Encrypt certificate created in the DigitalOcean Security section.
The used certificate is apparently signed by me and therefore triggers a “The connection to this website isn’t secure” on the browser.
My configuration on Gitlab is the following:
nginx['redirect_http_to_https'] = true nginx['ssl_certificate'] = "/etc/gitlab/ssl/git.domain.tld.crt" nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/git.domain.tld.key" external_url "https://git.domain.tld"
Do you see what I’m doing wrong here?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.