반응형
GitLab(Omnibus) Let's Encrypt 갱신
docker 컨테이너 이름 확인
$ docker-compose ps
Name Command State Ports
------------------------------------------------------------------------------------------------------------------------------------------
gitlab /assets/wrapper Up (healthy) 22/tcp, 0.0.0.0:2222->2222/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:5000->5000/tcp, 0.0.0.0:80->80/tcp
gitlab Let's Encrypt renewal
docker-compose exec gitlab gitlab-ctl reconfigure
$ docker-compose exec gitlab gitlab-ctl reconfigure
Starting Chef Infra Client, version 15.14.0
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
- gitlab (0.0.1)
- package (0.1.0)
- logrotate (0.1.0)
- postgresql (0.1.0)
- redis (0.1.0)
- monitoring (0.1.0)
- registry (0.1.0)
- mattermost (0.1.0)
- consul (0.1.0)
- gitaly (0.1.0)
- praefect (0.1.0)
- gitlab-kas (0.1.0)
- gitlab-pages (0.1.0)
- letsencrypt (0.1.0)
- nginx (0.1.0)
- runit (5.1.3)
- acme (4.1.1)
- crond (0.1.0)
...
Running handlers:
Running handlers complete
Chef Infra Client finished, 17/845 resources updated in 35 seconds
gitlab Reconfigured!
SSL 인증서 만료일 조회
echo | openssl s_client -servername gitlab.sangchul.kr -connect gitlab.sangchul.kr:443 2>/dev/null | openssl x509 -noout -dates
$ echo | openssl s_client -servername gitlab.sangchul.kr -connect gitlab.sangchul.kr:443 2>/dev/null | openssl x509 -noout -dates
notBefore=Sep 5 12:28:52 2021 GMT
notAfter=Dec 4 12:28:51 2021 GMT
728x90
반응형
'리눅스' 카테고리의 다른 글
[LDAP] OpenLDAP 설치 및 구성-v2 (0) | 2021.09.07 |
---|---|
[LDAP] OpenLDAP 이중화 구성(syncrepl) (0) | 2021.09.06 |
[LDAP] OpenLDAP ldif_read_file: checksum error (0) | 2021.09.03 |
[VPN] pfSense에서 Google OTP로 OpenVPN을 설정하는 방법 (0) | 2021.09.02 |
CentOS 7에서 root 패스워드를 초기화하는 방법 (0) | 2021.09.02 |