I'm not able to generate SSL Certificates

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. https://crt.sh/?q=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:

stg-cita.com
I ran this command:
sudo certbot certonly --agree-tos --email amit@wiz.asia --webroot -w /var/lib/letsencrypt/ -d stg-cita.com -d www.stg-cita.com

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for stg-cita.com
http-01 challenge for www.stg-cita.com
Using the webroot path /var/lib/letsencrypt for all unmatched domains.
Waiting for verification...
Challenge failed for domain www.stg-cita.com
Challenge failed for domain stg-cita.com
http-01 challenge for www.stg-cita.com
http-01 challenge for stg-cita.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.stg-cita.com
    Type: dns
    Detail: DNS problem: NXDOMAIN looking up A for www.stg-cita.com -
    check that a DNS record exists for this domain; DNS problem:
    NXDOMAIN looking up AAAA for www.stg-cita.com - check that a DNS
    record exists for this domain

    Domain: stg-cita.com
    Type: dns
    Detail: DNS problem: SERVFAIL looking up A for stg-cita.com - the
    domain's nameservers may be malfunctioning; DNS problem: SERVFAIL
    looking up AAAA for stg-cita.com - the domain's nameservers may be
    malfunctioning

My web server is (include version):
NGINX
The operating system my web server runs on is (include version):
Ubuntu
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):
No
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

certbot 0.40.0

Welcome to the community @AmitERP

As the message says, you must have DNS A and/or AAAA records for your domain name. These point to the IP address of your server.

But, do you own that domain? Because one domain reseller, GoDaddy, says it is still available for purchase. ICANN says the domain is not registered.

These say you don't own it which is the first step. You don't have to buy it from GoDaddy. But, you must buy it from somewhere

5 Likes

HI @MikeMcQ : Thanks for quick update. I made a mistake on domain name it was stg-cita.com not stg-sita.com but I still get the same error. I've updated the post. please check if you can help.

1 Like

Hi @MikeMcQ : in ICANN Lookup it shows registered. the correct domain name is stg-cita.com

Your DNS server is malfunctioning for the apex domain: stg-cita.com | DNSViz

And it seems it's not aware of any www subdomain: www.stg-cita.com | DNSViz

4 Likes

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