Unable to add new certificate after deleting old one

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: hrms.gtentechnologies.com

I ran this command:

`sudo certbot --nginx -d hrms.gtentechnologies.com
`

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for hrms.gtentechnologies.com
Waiting for verification...
Challenge failed for domain hrms.gtentechnologies.com
http-01 challenge for hrms.gtentechnologies.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

Type: unauthorized
Detail: Invalid response from
GTEN Technologies
[65.0.159.189]: "<!doctype html><html lang="en"><meta
charset="utf-8"/><link rel="shortcut icon"
href="./favicon.ico"/><meta name="viewport"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

My web server is (include version): AWS Ec2

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

My hosting provider, if applicable, is: Godaddy and hosting provider is Netlify

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

I was having a certificate on this before and due to renewal issues I deleted that one. Now I am trying to install new certificate and I am not able to do so.

1 Like

Hi @adeshkumar1201, welcome to the LE community forum :slight_smile:

I think maybe something in the nginx config is confusing certbot.
Let's have a look at the full nginx config with the output of:
sudo nginx -T

1 Like

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