Error creating a certificate with hostname Duck DNS

Hello,

I have tried a few times to create a certificate using the standard acme procedure with a Duck DNS hostname:

acme.sh --issue --dns dns_duckdns -d mydomain.duckdns.org -d *.mydomain.duckdns.org

but I always get the error:

Error, can not get domain token "type":"dns-01","url":"https://acme.zerossl.com..........","status":"invalid","error":

The same procedure with a different service has worked smoothly.

Can you please help? Where am I wrong?

Thanks,
Daniele

1 Like

The default Certificate Authority (CA) for acme.sh is ZeroSSL which is what you tried.

Use the --server option to set Let's Encrypt. You can even change the default CA

3 Likes

Thanks! It has worked.

But I am wondering, why the command:

./acme.sh --issue --dns dns_dynu -d example.com -d *.example.com

has perfectly worded with dynu.com and with Duck DNS it is necessary to use the --server option to set Let's Encrypt?

Thansk for helping, daniele

1 Like

I don't know. Was this a new setup with acme.sh?

Maybe your dynu certs were issued by ZeroSSL? Is that possible?

When you hide your domain names it is not possible to give specific advice

2 Likes

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