'Gitlab doesn't loads new ssl cert and key
I'm running Gitlab:13.12.15-ce.0 in docker container with my private ssl certs and key. But it's expired few days back and i have updated the .crt and .key files in /etc/gitlab/ssl directory but Gitlab still throws error that my certs are expired with loading old certs.
I have tried updating the cert and key file by following Update the SSL Certificates
I followed these steps to configure certs and key initially:manually-configuring-https
How do i load new updated ssl cert in Gitlab ? Thanks in Advance.
Solution 1:[1]
From SSL settings, you might need to cleanup /opt/gitlab/embedded/ssl/certs first, putting your new key in /etc/gitlab/trusted-certs, and do a gitlab-ctl reconfigure.
That should create the expected symlinks in /opt/gitlab/embedded/ssl/certs and update your SSL cert used by your GitLab instance..
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | VonC |
