분류 기타

Linux CenTOS 7.X LetsEncrypt 설치하기

컨텐츠 정보

  • 조회 280 (작성일 )

본문

설치 순서

>sudo yum install epel-release


>sudo yum install certbot python2-certbot-apache mod_ssl


>sudo certbot --apache -d 365ok.co.kr -d www.365ok.co.kr

  -, wellmorewell@gmail.com //관리 이메일

  -, A(gree)

  -, N(o) // 새소식을 받을 지 결정

  -, 2 // http, https를 모두 허용할 지 1, https만 허용할 지 2


정상적으로 설치가 되었는지 브라우저에서 확인

-, https://www.ssllabs.com/ssltest/analyze.html?d=365ok.co.kr


갱신하기

>sudo certbot renew --dry-run  //인증서 갱신이 가능한지 확인

-, 자동갱신 60일 기준 cron 이용....

>crontab -e

    0 4 15 */2 * certbot renew

>service crond restart