메뉴 건너뛰기

infra

[SSL] Let's encrypt

lispro062016.06.21 05:49조회 수 891댓글 3

  • 5
    • 글자 크기

https://blog.outsider.ne.kr/1178


위 사이트를 통해 설치 및 세팅을 했었는데, 벌써 3개월이 지나버렸다.


모든 기억은 리셋되어 다시 찾아 


./letsencrypt-auto --apache 를 실행시켰다.




git clone https://github.com/letsencrypt/letsencrypt


python 과 기타 의존성 파일들이 설치되었다면, 쉽게 apache에 설치 가능할 것이다.


5분이면 코딩 하나 없이 끝난다!


ScreenShot_20160620204821.png


ScreenShot_20160620205020.png


ScreenShot_20160620205037.png

ScreenShot_20160620205110.png


ScreenShot_20160620205222.png

lispro06 (비회원)
  • 5
    • 글자 크기
[aws] 리전 이동하기 (by lispro06) [.emacs] 윈도우에서 한글 폰트 설정 (by 박영식)

댓글 달기

댓글 3
  • ./letsencrypt-auto certonly --manual 을 이용해 멀티 도메인 적용을 할 수 있다.

    80으로 outbound가 발생하여, stack overflow에 질문 했으나 유사 내용에 대해서도 특별한 해결책이 안 보인다.

    botnet으로 악용되어 80을 아예 닫아 버리고, 443만 운영하려다 보니, 멀티 도메인 문제가 발생하여, 찾아보게 되었다.

    기존 도메인 정보에서 확장하겠냐고 물어보면 그렇게 처리하여 사용 가능하다.

    인증서는 자동으로 다운로드 되며, 위치도 기존 경로와 동일하게 덮어 씌워지므로 아파치만 리스타트 하면 된다.

  • fork failed: Cannot allocate memory 를 이유로 sensible-utils 같은 pkg 가 설치되지 않으면, 메모리를 확보하기 위해 사용량이 높은 프로세스를 종료시킨다.


    top, kill, dpkg -i *.deb

  • OS 버전이 낮아서 letsencrypt-auto 가 동작하지 않으면,

     

    Ubuntu 12.04 LTS

    Upgrading certbot-auto 0.31.0 to 0.33.1...

     

    rm certbot-auto

    wget https://raw.githubusercontent.com/certbot/certbot/75499277be6699fd5a9b884837546391950a3ec9/certbot-auto

     

    [소스수정]

    pip_version = StrictVersion(check_output([python, '-m', 'pip', '--version'])

    by

    pip_version = StrictVersion(check_output(['pip', '--version'])

     

    and

    command = [python, '-m', 'pip', 'install', '--no-index', '--no-deps', '-U']

    by

    command = ['pip', 'install', '--no-index', '--no-deps', '-U']

     

     

    chmod +x ./certbot-auto

    ./certbot-auto -d lispkorea.cafe24.com -d lispkorea.org

첨부 (5)
ScreenShot_20160620204821.png
9.1KB / Download 55
ScreenShot_20160620205020.png
8.3KB / Download 52
ScreenShot_20160620205037.png
10.5KB / Download 54
ScreenShot_20160620205110.png
9.0KB / Download 49
ScreenShot_20160620205222.png
23.6KB / Download 49
위로