# Unable to issue certificate

**URL:** <https://community.letsencrypt.org/t/unable-to-issue-certificate/200757>\
**Category:** Help\
**Created:** [June 26, 2023, 9:31am UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757 "2023-06-26T09:31:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HetalK](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@HetalK](https://community.letsencrypt.org/u/HetalK)\
**Post date:** [June 26, 2023, 9:31am UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757/1 "2023-06-26T09:31:01Z")

</div>

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](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: [awesomewebapps.com](http://awesomewebapps.com)

I ran this command: sudo certbot --apache

It produced this output:  
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?

* * *

1: [awesomewebapps.com](http://awesomewebapps.com)  
2: [www.awesomewebapps.com](http://www.awesomewebapps.com)

* * *

Select the appropriate numbers separated by commas and/or spaces, or leave input  
blank to select all options shown (Enter 'c' to cancel): 1  
Requesting a certificate for [awesomewebapps.com](http://awesomewebapps.com)

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:  
Domain: [awesomewebapps.com](http://awesomewebapps.com)  
Type: unauthorized  
Detail: 2a02:4780:11:770:0:1391:f943:5: Invalid response from [http://awesomewebapps.com/.well-known/acme-challenge/g9Zn6gFp4X0CPsKy\_wbWnVcderhiQ3lJu5bBtQq9\_X0:](http://awesomewebapps.com/.well-known/acme-challenge/g9Zn6gFp4X0CPsKy_wbWnVcderhiQ3lJu5bBtQq9_X0:) 404

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

Some challenges have failed.  
Ask for help or search for solutions at [https://community.letsencrypt.org](https://community.letsencrypt.org). See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version): EC2

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

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 1.21.0

Logs for /var/log/letsencrypt/letsencrypt.log

2023-06-26 09:24:32,088:DEBUG:acme.client:Storing nonce: 1AADSa1lBDuzq0EqI6VL3udrT4skB6k3pINLnEUbgVRnzqc  
2023-06-26 09:24:32,089:INFO:certbot.\_internal.auth\_handler:Challenge failed for domain [awesomewebapps.com](http://awesomewebapps.com)  
2023-06-26 09:24:32,089:INFO:certbot.\_internal.auth\_handler:http-01 challenge for [awesomewebapps.com](http://awesomewebapps.com)  
2023-06-26 09:24:32,089:DEBUG:certbot.\_internal.display.obj:Notifying user:  
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:  
Domain: [awesomewebapps.com](http://awesomewebapps.com)  
Type: unauthorized  
Detail: 2a02:4780:11:770:0:1391:f943:5: Invalid response from [http://awesomewebapps.com/.well-known/acme-challenge/g9Zn6gFp4X0CPsKy\_wbWnVcderhiQ3lJu5bBtQq9\_X0:](http://awesomewebapps.com/.well-known/acme-challenge/g9Zn6gFp4X0CPsKy_wbWnVcderhiQ3lJu5bBtQq9_X0:) 404

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

2023-06-26 09:24:32,090:DEBUG:certbot.\_internal.error\_handler:Encountered exception:  
Traceback (most recent call last):  
File "/usr/lib/python3/dist-packages/certbot/\_internal/auth\_handler.py", line 90, in handle\_authorizations  
self.\_poll\_authorizations(authzrs, max\_retries, best\_effort)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/auth\_handler.py", line 178, in \_poll\_authorizations  
raise errors.AuthorizationError('Some challenges have failed.')  
certbot.errors.AuthorizationError: Some challenges have failed.

2023-06-26 09:24:32,090:DEBUG:certbot.\_internal.error\_handler:Calling registered functions  
2023-06-26 09:24:32,090:INFO:certbot.\_internal.auth\_handler:Cleaning up challenges  
2023-06-26 09:24:32,779:DEBUG:certbot.\_internal.log:Exiting abnormally:  
Traceback (most recent call last):  
File "/usr/bin/certbot", line 33, in   
sys.exit(load\_entry\_point('certbot==1.21.0', 'console\_scripts', 'certbot')())  
File "/usr/lib/python3/dist-packages/certbot/main.py", line 15, in main  
return internal\_main.main(cli\_args)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/main.py", line 1574, in main  
return config.func(config, plugins)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/main.py", line 1287, in run  
new\_lineage = \_get\_and\_save\_cert(le\_client, config, domains,  
File "/usr/lib/python3/dist-packages/certbot/\_internal/main.py", line 133, in \_get\_and\_save\_cert  
lineage = le\_client.obtain\_and\_enroll\_certificate(domains, certname)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/client.py", line 459, in obtain\_and\_enroll\_certificate  
cert, chain, key, \_ = self.obtain\_certificate(domains)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/client.py", line 389, in obtain\_certificate  
orderr = self.\_get\_order\_and\_authorizations(csr.data, self.config.allow\_subset\_of\_names)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/client.py", line 439, in \_get\_order\_and\_authorizations  
authzr = self.auth\_handler.handle\_authorizations(orderr, self.config, best\_effort)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/auth\_handler.py", line 90, in handle\_authorizations  
self.\_poll\_authorizations(authzrs, max\_retries, best\_effort)  
File "/usr/lib/python3/dist-packages/certbot/\_internal/auth\_handler.py", line 178, in \_poll\_authorizations  
raise errors.AuthorizationError('Some challenges have failed.')  
certbot.errors.AuthorizationError: Some challenges have failed.  
2023-06-26 09:24:32,780:ERROR:certbot.\_internal.log:Some challenges have failed.

---

<div class="post-metadata">

**Author:** ![\_az](https://avatars.discourse-cdn.com/v4/letter/_/22d042/32.png) [@\_az](https://community.letsencrypt.org/u/_az)\
**Post date:** [June 26, 2023, 9:49am UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757/2 "2023-06-26T09:49:24Z")

</div>

> [@HetalK](#):
>
> My domain is: [awesomewebapps.com](http://awesomewebapps.com)
> 
> I ran this command: sudo certbot --apache

Are you sure you are using Apache? When I visit your domain, it's served by a Litespeed server hosted with Hostinger.

---

<div class="post-metadata">

**Author:** ![HetalK](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@HetalK](https://community.letsencrypt.org/u/HetalK)\
**Post date:** [June 26, 2023, 9:58am UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757/3 "2023-06-26T09:58:06Z")

</div>

i have EC2 instance.  
yes I am using apache

---

<div class="post-metadata">

**Author:** ![\_az](https://avatars.discourse-cdn.com/v4/letter/_/22d042/32.png) [@\_az](https://community.letsencrypt.org/u/_az)\
**Post date:** [June 26, 2023, 9:59am UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757/4 "2023-06-26T09:59:24Z")

</div>

What's your EC2 instance's public IP address?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [June 26, 2023, 2:18pm UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757/5 "2023-06-26T14:18:27Z")

</div>

> [@HetalK](#):
>
> Which names would you like to activate HTTPS for?
> 
> * * *
> 
> 1: [awesomewebapps.com](http://awesomewebapps.com)  
> 2: [www.awesomewebapps.com](http://www.awesomewebapps.com)
> 
> * * *
> 
> Select the appropriate numbers separated by commas and/or spaces, or leave input  
> blank to select all options shown (Enter 'c' to cancel): 1

If both names lead to [the same content within] the same vhost, then you should get a cert with both names on it.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [July 26, 2023, 2:18pm UTC](https://community.letsencrypt.org/t/unable-to-issue-certificate/200757/6 "2023-07-26T14:18:33Z")

</div>

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