Removing the wildcard subdomain from nginx setup resolves this issue.
Logs:
Process: prepare certificate;
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for arks.cafe and *.arks.cafe
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
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.
Steps to reproduce.
During setup process, input a domain without a subdomain during Enter host where you want to install Misskey:, and proceed with setup.
input y for Do you want to setup nginx?:, proceed.
input n for Do you use Cloudflare?:, proceed.
Continue with installation process until error is thrown.
Problem
Within
ubuntu.sh
,certbot
throws error when requesting a certificate for wildcard subdomain.https://github.com/joinmisskey/bash-install/blob/d580ecefd940b91b023133f188e736930dda2cab/ubuntu.sh#L500
Removing the wildcard subdomain from nginx setup resolves this issue.
Logs:
Steps to reproduce.
Enter host where you want to install Misskey:
, and proceed with setup.y
forDo you want to setup nginx?:
, proceed.n
forDo you use Cloudflare?:
, proceed.Solution
-d *.$host
from ubuntu.sh#L500