Attempting to parse the version 0.21.1 renewal configuration file found at /etc/letsencrypt/renewal/domain.com.conf with version 0.19.0 of Certbot. This might not work.

 

기존 방법대로 새로운 도메인을 추가했는데 이런 오류가 나타납니다..

 

root@linode:~# certbot certonly --webroot --webroot-path=/etc/nginx/ssl -d 도메인.net -d www.도메인.net
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Attempting to parse the version 0.21.1 renewal configuration file found at /etc/letsencrypt/renewal/도메인.com.conf with version 0.19.0 of Certbot                                             . This might not work.
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for 도메인.net
http-01 challenge for www.도메인.net
Using the webroot path /etc/nginx/ssl for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.도메인.net (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid resp                                             onse from http://www.도메인.net/.well-known/acme-challenge/aDdZFYN80tKSJbVDyxMn-bvlcA9nLe-vRhw7YLMYtS8: "<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>", 도메인.net (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://도메인.net/.well-known/acme-challenge/0IGdmbirq1ka6187jpzcCnaYaBfwBKj3MbeP4B61rQA: "<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"

   IMPORTANT NOTES:
   - The following errors were reported by the server:

   Domain: www.도메인.net
   Type:   unauthorized
   Detail: Invalid response from
   http://www.도메인.net/.well-known/acme-challenge/aDdZFYN80tKSJbVDyxMn-bvlcA9nLe-vRhw7YLMYtS8:
   "<html>
   <head><title>404 Not Found</title></head>
   <body bgcolor="white">
   <center><h1>404 Not Found</h1></center>
   <hr><center>"

      Domain: 도메인.net
      Type:   unauthorized
      Detail: Invalid response from
      http://도메인.net/.well-known/acme-challenge/0IGdmbirq1ka6187jpzcCnaYaBfwBKj3MbeP4B61rQA:
      "<html>
      <head><title>404 Not Found</title></head>
      <body bgcolor="white">
      <center><h1>404 Not Found</h1></center>
      <hr><center>"

         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.
         root@linode:~#

 

  • profile
    certbot certonly --webroot --webroot-path=/etc/nginx/ssl -d 도메인.net -d www.도메인.net
    이게 방법이 달라졌나요 혹시..
  • profile
    https://github.com/certbot/certbot/issues/5405
    이 글을 보면..

    sudo certbot --authenticator webroot --installer nginx

    이렇게 다시 하라고 하는거 같은데 맞나요..

    만약에 서버 실행 중이라서 잘 안되면,

    sudo certbot --authenticator standalone --installer nginx --pre-hook "service nginx stop" --post-hook "service nginx start"

    이렇게 다시 해보라는 말 같구요.
  • profile
    들어가봤는데 야동공유사이트가 뜨네요. 웹루트를 잘못쓰신것 같네요.
  • profile profile
    네 좀 더 찾아봐야겠습니다. 영어가 약해서 큰일이네요 ㅠㅠ 뭔가 해석하는게 힘드네요 ㅡㅜ
  • profile
    대충 읽어보니 사용중인 버전과 도매인.conf 가 호환이 안된다는 내용과
    Ssl 폴더에 있는 모든 도메인과 매치가 안되고
    서버 에러로그를 읽어 보라고 나와 있네요.
    관련 에러로그를 읽어 보시면 문제 해결에 도움이 되겠네요.