#gitlab配置启用https openssl genrsa -des3 -out /etc/gitlab/ssl/gitlab.com.key 2048 openssl rsa -in certificate_before.key -out certificate_after.key openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/gitlab/ssl/gitlab.com.key -out /etc/gitlab/ssl/gitlab.com.crt firewall-cmd --permanent --add-service=https systemctl reload firewalld gitlab-ctl reconfigure
|