Certbot failed when making a ssl cert

hi im trying to set a ssl cert for my pterodactyl panel but it keeps failing
i am using cloudflare for dns record
the dsn record set up im trying to use
type A ptero.phenixgs.xyz dns only ttl auto
the main domain is phenixgs-servers.xyz
any help would be great as im new to all this and havent got much exp in using certbot/nginx

My domain is: ptero.phenixgs-servers.xyz

I ran this command:

sudo certbot certonly --nginx -d ptero.phenixgs-servers.xyz

It produced this output:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: ptero.phenixgs-servers.xyz
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for ptero.phenixgs-servers.xyz - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for ptero.phenixgs-servers.xyz - check that a DNS record exists for this domain

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

My web server is (include version):
nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
My hosting provider, if applicable, is:

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):
unsure what this means
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

This shouldn't be the case anymore. Try again. Add --dry-run maybe.

https://unboundtest.com/m/A/ptero.phenixgs-servers.xyz/2BMH7XGW

2 Likes

this issue has been resolved

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