I'm currently facing an issue while trying to link a Let's Encrypt certificate to my Ubuntu machine on AWS EC2. The process involves creating a DNS record, and I'm using Putty and Certbot for the setup. Despite successfully creating the DNS record, I consistently encounter an error stating that the domain does not exist.
Here's a brief overview of the steps I've taken:
DNS Record Creation:
I've created the necessary DNS record for my domain on AWS Route 53.
Certificate Generation:
I'm using Certbot on my Ubuntu machine to generate the Let's Encrypt certificate. The command I'm using is similar to the following:
Please note that "mydomain.com" is a placeholder for my actual domain.
3. Error Encountered:
Despite successfully creating the DNS record, Certbot returns an error stating that the domain does not exist. I've ensured that the DNS record has propagated, and I can resolve the domain from my machine.
Has anyone encountered a similar issue or can offer insights into what might be causing this problem? Any assistance or advice on troubleshooting steps would be greatly appreciated.
It's going to be very hard for people here to help you without knowing the actual domain name and the exact error message you're getting. If you don't want to post the name here, but are okay with entering it into random web tools, you could try resolving the name using DNSViz and Unboundtest to confirm that they are seeing the domain name the same way that you are.
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: vivikman.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.vikman.com - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the manually created DNS TXT records. Ensure that you created these in the correct location, or try waiting longer for DNS propagation on the next attempt.
Yep the true name is vivikman.com I miss writed in the comment section but not in my config but thanks though.
I am doing this as a homework in college where I have to build a full lamp with wordpress (or any software like wordpress) on AWS EC2. Then I have to get a DNS record in order to create and to link a Let's Encrypt certificate. Im not an expert on it and so I did not know which one to use between DNS-01 and HTTP-01.
My problem is that I wonder how to configure correctly my record on Route 53 in the case it's not configured correctly (what to put in value case, which type to choose: A, AAAA, TXT...).
In other words, I still wonder why my DNS record doesn't appear.
Do you own that name? ICANN doesn't think that it's currently registered.
Your challenge isn't actually relating to getting a certificate, you first need to get your web site working. Once you have your site working, then you should be able to run certbot (use --apache if you're using Apache, that should be much easier than trying to deal with standalone or manual) to enable TLS.