문서의 이전 판입니다!
# apt-get update ; apt-get dselect-upgrade -f fix-missing upgrade # apt-cache search letsencrypt # apt-get install letsencrypt # apt-cache show letsencrypt
# add-apt-repository ppa:certbot/certbot
# add-apt-repository --remove ppa:certbot/certbot
# apt-get install ppa-purge
# ppa-purge ppa:certbot/certbot
# letsencrypt certonly --webroot -w /home/admin/tomcat8_ecp/webapps/ -d ecp.adminschool.net
–dry-run
옵션을 붙여서 통과할 때까지 TEST한 다음 테스트 통과하면, –dry-run
옵션을 빼고 정식으로 진행하는 것이 좋다.–dry-run
옵션은 certonly
나 renew
명령하고만 함께 사용할 수 있는 옵션이다.# letsencrypt certonly --webroot -w /home/admin/tomcat8_ecp/webapps/ -d ecp.adminschool.net --dry-run
... IMPORTANT NOTES: - The dry run was successful.
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Host name="ecp.adminschool.net" appBase="webapps" unpackWARs="true" autoDeploy="true">
.well-known/acme-challenge
디렉토리를 생성한다. # mkdir -p .well-known/acme-challenge
# letsencrypt certonly --webroot -w /home/admin/tomcat8_ecp/webapps/ -d ecp.adminschool.net