본문 바로가기
Tool/etc(TOOLs)

SSL / certbot-auto /

by 하하IT 2021. 3. 8.

1] SSL 신규등록

wget https://dl.eff.org/certbot-auto
chmod +x certbot-auto
sudo mv certbot-auto /usr/local/bin

cd /usr/local/bin

export EMAIL_ALERTS="이메일"
sudo /usr/local/bin/certbot-auto certonly --standalone -d www.도메인1 -d 도메인2 --preferred-challenges http --agree-tos -n -m $EMAIL_ALERTS --keep-until-expiring

tomcat 시작

2] SSL 갱신

  1. Tomcat 종료

  2. /usr/local/bin/certbot-auto certonly --standalone -d 도메인1 -d 도메인2

    What would you like to do?


    1: Keep the existing certificate for now
    2: Renew & replace the cert (may be subject to CA rate limits)


    Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
    Renewing an existing certificate for www.tashudev.ejudata.co.kr and 3 more domains

  3. tomcat 시작

'Tool > etc(TOOLs)' 카테고리의 다른 글

Ngin Proxy Manager / SSL Certificates / Renew Now  (0) 2024.03.12
Apache Directory Studio/ldap/export  (0) 2023.10.24
sapJCO error  (0) 2020.04.24
opensource mindmap  (0) 2020.04.19
javascript Diagram  (0) 2020.04.19