A problem with trying to setup a SSL certificate Invalid Domain issue

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: https://panel.jumblepterodactyl.org/

I ran this command:
acme.sh --issue --dns dns_cf -d "panel.jumblepterodactyl.org" --server letsencrypt --key-file /etc/letsencrypt/live/panel.jumblepterodactyl.org/privkey.pem --fullchain-file /etc/letsencrypt/live/panel.jumblepterodactyl.org/fullchain.pem

It produced this output: Invalid Domain Error adding TXT record to domain: _acme-challenge.panel.jumblepterodactyl.org

My web server is (include version): ?

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

My hosting provider, if applicable, is: Cloudflare

I can login to a root shell on my machine (yes or no, or I don't know): Yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 2.9.0

Hello I am new to Ubuntu (I just installed it like 10 hours ago) I wanted to try the pterodactyl thing for server hosting so I did it all worked good until I got to the SSL Certificate part I did buy a website from cloud flare but I have no clue how web siting works I did make a subdomain with the name of panel but the problem is I have no clue what IP to put or where to find it but I tried my public IP didnt work and some other ips on my network I think the problem is the IP i am not sure but every time I try to run that command it just outputs invalid domain I looked all over google and I am lost so this is my last resort I wanted to avoid asking people for help because I am brand new at all this stuff and don't want to be a burden but I have no clue what else to do I am not sure what else I need to add but if anyone requests something ill send it

Did you follow the steps for acme.sh Cloudflare setup here?

The DNS Challenge, which is what you are doing with the dns-cf mode uses a DNS TXT record to prove your control of the domain name. The public IP address of your server is not involved with this kind of challenge.

Just in case you haven't yet ... you should review this:

4 Likes