192.168.1.100 gitlab.local
127.0.0.1 gitlab.local
openssl genrsa -out ca.key 2048
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
openssl genrsa -out gitlab.local.key 2048
openssl req -new -key gitlab.local.key -out gitlab.local.csr
openssl x509 -req -in gitlab.local.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out gitlab.local.crt -days 365
/etc/gitlab/ssl
update-ca-certificates
external_url 'https://gitlab.local'
nginx['redirect_http_to_https'] = true
nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.local.crt"
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.local.key"
gitlab-ctl reconfigure
/etc/ssl/certs
update-ca-trust
git config --global http.sslKey /etc/ssl/certs/gitlab.local.key
git config --global http.sslCert /etc/ssl/certs/gitlab.local.crt
cp /etc/ssl/certs/gitlab.local.crt /etc/pki/ca-trust/source/anchors/
update-ca-trust
fatal: «https://gitlab.local/anton/half.git/» недоступно: SSL certificate problem: self signed certificate
root@pvetest:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 371.90g 5.98 0.59
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-a-tz-- 32.00g data 5.68
vm-101-disk-0 pve Vwi-a-tz-- 32.00g data 5.68
vm-102-disk-0 pve Vwi-a-tz-- 50.00g data 15.86
vm-103-disk-0 pve Vwi-a-tz-- 50.00g data 15.86
Для этого есть плагин https://www.dokuwiki.org/plugin:drawio
У меня в файле /etc/gitlab/gitlab.rb:
Нет такой строки GitLab Community Edition 8.17.3:
gitlab_sshd['enable'] = true