#00130 ปัญหา certbot unauthorized

พบ error เมื่อพยายามทำ certbot ที่ subdomain


Select the appropriate numbers separated by commas and/or spaces, or leave input

blank to select all options shown (Enter 'c' to cancel): 1

Requesting a certificate for ariyasap.kimson.us

  

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:

  Domain: ariyasap.kimson.us

  Type:   unauthorized

  Detail: 2606:4700:3030::6815:3001: Invalid response from http://ariyasap.kimson.us/.well-known/acme-challenge/ynEvZ-ZGzNBUwzrq9eVazAFFcQ7F9525ILkF8CDGaJw: 404

  

Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

  

Some challenges have failed.

Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

root@ubuntu:~#

ลองปรับ cloudflare tunnel จาก HTTPS กลับไปเป็น HTTP ชั่วคราว แล้ว certbot ทำงานได้

เมื่อปกติ จึงค่อยปรับกลับไปเป็น HTTPS อีกรอบ