2017년 12월 21일 목요일

Let’s Encrypt SSL 인증서 설치 경로 변경

(Let’s Encrypt config directory change)
(Let’s Encrypt certificate directory change)
(/etc/letsencrypt change)



* --config-dir 옵션으로 키파일 위치 변경 가능
$ certbot-auto certonly --webroot --webroot-path=/var/www --config-dir /변경할/디렉토리 -d 도메인 -d 추가도메인


* 인증서 생성시 --config-dir 옵션을 사용해서 설정 디렉토리를 변경한 경우, 이후 certbot-auto 관련 명령시 --config-dir 옵션 추가 필요
$ certbot-auto renew --config-dir /설정한/디렉토리



참고: https://letsencrypt.readthedocs.io/en/latest/using.html#lock-files

댓글 없음:

댓글 쓰기