How to get ACME Challenge for New Domain

Greeting All,

It has been a while since I have been in the forums. So apparently when I was copying all of the steps to get a Let's Encrypt SSL certificate, I forgot the steps to get the ACME challenge information for the 'A' record.

Does anyone have any websites/links/info on how to do this?

Thanks in advance!


1 Like

Try reading here Challenge Types - Let's Encrypt

1 Like

Hi Bruce. This page explains the different challenge types but it does not provide instructions on how to create one.

You don't create one. Your ACME client does.


Thanks linkp, I will check the link out. Thanks!

1 Like

Sorry. :frowning:

1 Like

No worries Bruce. Though I must say that this is proven to be much harder. I tried to use CertBot and it was giving me a 'Cannot find Apache executable apache2ctl' error. So I gave up and now am going to the ACME challenge using Lego. I'll post updates.

1 Like

I prefer webroot when using certbot. When using Apache, mod_md is my standard.

Obviously what client is most appropriate for any given circumstance will be influenced by many variables. Let us know what one ends up working best for your current situation.


Do you mean "TXT" record?
Are you trying to get a wildcard certificate?
I don't know of any ACME challenge that requires putting an "A" record.
[to satisfy the challenge]
Other than HTTP-01 (& TLS-ALPN-01) authentication needing to reach the IP address of the name being requested.
But that should have been there already... Since:
You should have a working HTTP site before trying to secure it via HTTP-01 authentication.


@rg305 Sorry doing too many things at once. Yea A record and I am still having no luck. Certbot isn't working with my new Lightsail LAMP instance.

1 Like

@tychoash care to share any more details?

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. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:

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

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

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

Thank you for assisting us in helping YOU!

1 Like

Here you where using the DNS-01 Challenge

While here it looks like you were using HTTP-01 Challenge

Maybe that can help recall what you did in the past, especially if choose to not share more details.
I realize I am not being of much value here, but just trying to help.


Thanks Bruce I will try those.


Bruce we are getting somewhere my friend! So using the first part I was able to get the challenges at least. However, when trying to use Lego to get the certs I got an interesting ACME error:

[] acme: use tls-alpn-01 solver2022/12/23 21:33:09 [INFO] [] acme: Trying to solve TLS-ALPN-012022/12/23 21:33:13 [INFO] [] The server validated our request2022/12/23 21:33:13 [INFO] [,] acme: Validations succeeded; requesting certificates2022/12/23 21:33:14 Could not obtain certificates:error: one or more domains had a problem:[] acme: error: 404 :: POST :: :: urn:ietf:params:acme:error:malformed :: Certificate not found[] acme: error: 404 :: POST :: :: urn:ietf:params:acme:error:malformed :: Certificate not found

Is it because I used Lego next?


I can download the certificate perfectly using that link. I think your ACME client is buggy, can you upgrade the version?


Ok this was odd. I gave it a few minutes and it responded correctly this time. Let me try and put them in the right folder now. BRB

1 Like

Osiris I have the certs and have them in the /opt/bitnami/letsencrypt/certificates folder but they aren't showing on the website. Is this due to the ACME client being buggy? How do I upgrade it? Sorry for all of the questions but this is only my 2nd SSL cert ever. :slight_smile:

1 Like

Using this online tool here is a list of issued certificates |, the latest being 2022-12-23.

Using the online tool Let's Debug with the TLS-ALPN-01 Challenge selected there an ERROR; results here
Debug version of results here



A test authorization for to the Let's Encrypt staging service has revealed issues that may prevent any certificate for this domain being issued. Error getting validation data

Do you think it is because I got the acme using certbot and then the certs using lego?

Sorry @tychoash that is something I do not know, nor even how to guess.

So, kindly wait for more knowledgeable Let's Encrypt community volunteers to assist.