Let's Encrypt로 Ubuntu 18.04 Nginx에 라이트세일에 깔려고 합니다.
라엘님 블로그 보고 그대로 따라했어요
근데 에러가 자꾸 뜨네요 에러 내용이에요
Using the webroot path /home/myuser1/www for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. example.co.kr (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://example.co.kr/.well-known/acme-challenge/soE1JgTho4gT72dH9Cw0pL2nzSzIXw1f7DXEwz8wcSs [1.1.1.1]: "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.17.6</ce", www.example.co.kr (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.example.co.kr/.well-known/acme-challenge/kKq7myNCzoTwR7e655u68aLJ26v1SPk7Zm-xbtcCJ4c [1.1.1.1]: "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.17.6</ce"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: example.co.kr
Type: unauthorized
Detail: Invalid response from
http://example.co.kr/.well-known/acme-challenge/soE1JgTho4gT72dH9Cw0pL2nzSzIXw1f7DXEwz8wcSs
[1.1.1.1]: "<html>\r\n<head><title>404 Not
Found</title></head>\r\n<body>\r\n<center><h1>404 Not
Found</h1></center>\r\n<hr><center>nginx/1.17.6</ce"
Domain: www.example.co.kr
Type: unauthorized
Detail: Invalid response from
http://www.example.co.kr/.well-known/acme-challenge/kKq7myNCzoTwR7e655u68aLJ26v1SPk7Zm-xbtcCJ4c
[1.1.1.1]: "<html>\r\n<head><title>404 Not
Found</title></head>\r\n<body>\r\n<center><h1>404 Not
Found</h1></center>\r\n<hr><center>nginx/1.17.6</ce"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
클라우드 플레어로 DNS만 이용하고 있습니다. 어떻게 할 수 있을까요?
사이트 주소랑 IP주소는 임의로 변경했습니다.
라이트세일에 우분투 아파치 사용으로 자동설치 스크립트 테스트 중인데 필요하시면 말씀 하세요...^^
https://xetown.com/topics/1296954
그리고 본문 내용의 에러를 보니 도메인 설정에 문제가 있는 모양 입니다.
웹루트의 경로가 도메인과 맞지 않다고 하네요....^^
혹시 고정IP 생성 하시고 작업을 하신건가요?
프라이빗 IP를 사용 하시면 Let's Encrypt 가 정상 설치가 안될 겁니다.