2

I'm trying to add TLS/SSL to my custom domain on Gitlab. Currently it says my site is available at https://yodel.co, but when I go there it says the certificate is invalid. How do I go about validating the certificate?

In the docs (also pictured) it says there are keys to add from your admin when setting up a new domain. However I'm not sure where to get these keys as I am the admin.

My Gitlab Pages My Pages

Gitlab docs screenshot Documentation says there's keys to add?

evan
  • 954
  • 3
  • 18
  • 37

1 Answers1

0

You can simplify, 3 years later, your process by using GitLab 12.1 (July 2019).

It comes with "Automatic HTTPS for Pages with Let's Encrypt":

In 12.1, Pages users that add a new custom domain can enable “Automatic certificate management using Let’s Encrypt”.
With this setting configured, GitLab automatically procures certs from Let’s Encrypt, provisions them to your custom domain in GitLab, keeps track of the expiration date and automatically renews your certs.

https://about.gitlab.com/images/12_1/lets-encrypt-feature.png

See more at "GitLab Pages integration with Let's Encrypt", from issue 28996:

The GitLab Pages integration with Let’s Encrypt (LE) allows you to use LE certificates for your Pages website with custom domains without the hassle of having to issue and update them yourself; GitLab does it for you, out-of-the-box.

Your selections can be set on a per-domain basis to accommodate varying users and requirements.


VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250