목차

01. 사전조건

  1. Centos가 설치된 머신 또는 가상머신
  2. Domain

02. 환경설정

02-01. Docker 설치


02-02. Docker Compose 설치

Docker-compose 공식 가이드


02-03. Certbot 설치


02-04. SSL 인증서 생성

사전조건

  • DNS Recode 'A' SubDomain 생성
[root@centos confluence-docker-compose]# certbot-auto certonly --cert-name confluence.iisanse.com -d confluence.iisanse.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log

How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for confluence.iisanse.com
Waiting for verification...
Cleaning up challenges
Subscribe to the EFF mailing list (email: sooabia@gmail.com).

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/confluence.iisanse.com/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/confluence.iisanse.com/privkey.pem
   Your cert will expire on 2021-01-18. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot-auto
   again. To non-interactively renew *all* of your certificates, run
   "certbot-auto renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

[root@centos confluence-docker-compose]#

02-05. Git 설치

02-06. Git Clone

[root@centos]# git clone https://github.com/Sanses/confluence-docker-compose.git
[root@centos]# cd confluence-docker-compose
[root@centos confluence-docker-compose]#

02-07. 인증서 복사

[root@centos confluence-docker-compose]# cp /etc/letsencrypt/live/confluence.iisanse.com/fullchain.pem ssl
[root@centos confluence-docker-compose]# cp /etc/letsencrypt/live/confluence.iisanse.com/privkey.pem ssl
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.