Failed authorization procedure Invalid response from


#1

My domain is:yunshuyuan.cc

I ran this command: ./letsencrypt-auto certonly --webroot -w /web/xia/book/public_html/ --email henryyexm@qq.com -d yunshuyuan.cc -d www.yunshuyuan.cc -d m.yunshuyuan.cc --agree-tos

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for yunshuyuan.cc
http-01 challenge for www.yunshuyuan.cc
http-01 challenge for m.yunshuyuan.cc
Using the webroot path /web/xia/book/public_html for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. m.yunshuyuan.cc (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://m.yunshuyuan.cc/.well-known/acme-challenge/rmvyiGs3im4QusQLkrrPIIZDxrDwyr3ISS_-Gj6nSaU: "<!doctype html>

<meta name="viewport""

IMPORTANT NOTES:

My web server is (include version):nginx1.12

The operating system my web server runs on is (include version):Centos 7

I try to create a file test,
yunshuyuan.cc/.well-known/acme-challenge/test
it worked!


#2

Hi @henryyexm,

It works for yunshuyuan.cc and www.yunshuyuan.cc but not for m.yunshuyuan.cc, seems m.yunshuyuan.cc is not using the same webroot path /web/xia/book/public_html/ like the other sites so you should specify the right webroot path for this site in your command:

./letsencrypt-auto certonly --webroot -w /web/xia/book/public_html/ -d yunshuyuan.cc -d www.yunshuyuan.cc -w /webroot/path/to/m/ -d m.yunshuyuan.cc --agree-tos --email henryyexm@qq.com

Cheers,
sahsanu


#3

You are right,I make a mistake ,Thanks a lot !


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.