분석하는 마케터
HTTP 와 SSL - (3) SSL 인증서 생성
TREBOR
2020. 3. 1. 14:45
HTTP와 SSL -SSL 인증서 생성하기
1. 모듈이 잘 받아졌다면, 아래 명령어로 SSL 인증서를 생성
./letsencrypt-auto certonly --standalone -d 적용할 도메인
2. Terms of Service에 대한 내용이 나오면 (Y)es 혹은 (A)gree 입력
3. 인증서 생성 과정에서 나타나는 오류
- Import Error : 여기 참고
Amazon Linux: ImportError: No module named cryptography.hazmat.bindings.openssl.binding · Issue #2544 · certbot/certbot
While attempting to run on Amazon Linux: Linux ip #1 SMP Sat Oct 24 01:31:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Git commit hash: 6950dbd0708d3ba16b717ad1097332fc37e33f15 I get the following er...
github.com
- Problem binding to port 80 : apachectl restart 후에 재시도
4. 정상적으로 생성되었다면, Congratulations! 문구 + 각각의 인증서와 chain의 저장 경로가 나타남
저장 경로는 복사해두면 편하다
발급된 인증서와 인증서의 유효기간은 아래를 입력해 확인
ls /etc/letsencrypt/live , ./letsencrypt-auto certificates