사용자 도구

사이트 도구


os:ubuntu:letsencrypt

문서의 이전 판입니다!


letsencrypt

letsencrypt 설치

  1. letsencrypt 설치
    # apt-get update ; apt-get dselect-upgrade -f fix-missing upgrade 
    # apt-cache search letsencrypt 
    # apt-get install letsencrypt
    # apt-cache show letsencrypt
  2. ubuntu 는 certbot 를 이용한다.

certbot PPA

  1. APT Repository 에 certbot PPA 추가한다. (선택옵션)
    # add-apt-repository ppa:certbot/certbot
  2. APT Repository 에서 certbot PPA 삭제방법
    # add-apt-repository --remove ppa:certbot/certbot
  3. 관련 패키지들까지 한꺼번에 제거하고 싶을때
    1. ppa-purge 패키지 설치
      # apt-get install ppa-purge 
    2. 관련 패키지 삭제
      # ppa-purge ppa:certbot/certbot 

letsencrypt 인증서 발급

  1. letsencrypt 인증서 생성은 http(port 80)를 통해서 이루어진다.
    http로 접근시 https로 redirection 되어 있다면 설정을 해제하고 시작한다.
  2. 인증서 생성 ( letsencrypt 명령어 대신 certbot 명령어를 사용해도 된다 )
    # letsencrypt certonly --webroot -w /home/admin/tomcat8_ecp/webapps/ROOT/WEB-INF/jsp/ -d ecp.pickup9.com
    1. [webroot] 웹인증 방식 선택
    2. [w 경로] 에 임시로 파일을 생성하고 letsencrypt 사이트 인증프로그램이 이 파일을 접근할 수 있으면
    3. [d 도메인] 인증을 한다
os/ubuntu/letsencrypt.1591432000.txt.gz · 마지막으로 수정됨: 2020/06/06 17:26 저자 starlits