How to Update the SSL Domain Certificate After Self-Hosting a JihuLab Code Platform
Background After deploying a self-hosted JihuLab code platform, the domain's SSL certificate expired, making the management interface inaccessible. Local code could no longer be synchronized with the remote repository. Objective: Update the domain's SSL certificate to restore access to the platform and enable code synchronization. Implementation Steps 1. Locate the Certificate Configuration in JihuLab Run the following command to check the actual certificate paths configured in JihuLab: grep -nEi "external_url|ssl_certificate|ssl_certificate_key|letsencrypt" /etc/gitlab/gitlab.rb The output will look similar to the following: external_url 'https://explore.com' nginx['ssl_certificate'] = "/etc/gitlab/ssl/explore.com.pem" nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/explore.com.key" Based on the configuration above, the certificate files are located in the following directory: /etc/gitlab/ssl/ 2. Download the New Certifi...