Problem to solve
I have to renew the SSL certificate for a custom domain. It is already working with a certificate, which is expiring in a few days. It is domain.xx.yy (third level domain), so I have asked xx…yy for the certificate, and I have it and the private key, both in PEM format. But I don’t see how to upload them to GitLab. By reading the docs I found that I can manage the certificate in the Pages page. But there I only see two possible ways of renewing my certificate:
-
Remove the current one (and then install the new one). But when I try, it says that I cannot remove it because I have the “force HTTPS” tick on, which seems reasonable, but prevents me from using this way.
-
Create a new domain with the same domain name, and then install in it the new certificate. But when I do that (and also install the private key) I get a 500 server error (!). So I cannot install it this way either.
So, how should I renew my curstom domain certificate.
Note: I’m not using Let’s Encrypt nor Cloudfare certificates, but a certificate signed by my second-level domain.
Steps to reproduce
See my comment above
Configuration
See my comments above
Versions
Please select whether options apply, and add the version information.
- Self-managed
- GitLab.com SaaS