Getting Access Denied while challenging

My domain is:

I ran this command: --issue -d -w /usr/share/nginx/html/ --server letsencrypt
(also tried with certbot both standalone and webroot)

It produced this output:
[Thu Aug 12 16:09:48 EDT 2021] _post_url=''
[Thu Aug 12 16:09:49 EDT 2021] _CURL='curl --silent --dump-header /root/ -L -g '
[Thu Aug 12 16:09:49 EDT 2021] _ret='0'
[Thu Aug 12 16:09:49 EDT 2021] _hcode='0'
[Thu Aug 12 16:09:49 EDT 2021] code='200'
[Thu Aug 12 16:09:49 EDT 2021] error:Invalid response from []:

My web server is (include version):
Nginx latest in fedora

The operating system my web server runs on is (include version):
Fedora 31 (Server Edition)
My hosting provider, if applicable, is: none

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 client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
latest certbot, latest both failed with same error.

Also to add some info, if I try to access[token] I can download it without issues... In other words I don't receive the "Access Denied"

Looking at the certbot log I see:
Type: unauthorized
Detail: Invalid response from []: "\n\n<meta http-equiv="content-type" content="text/html; charset=UTF-8" />\nAccess Denied\n"

Anyhelp will be much appreciated.

I'm getting a forbidden error on your site entirely? Is that supposed to happen? And I might be mistaken, but to me the error page doesn't look like a standard nginx error page?

1 Like

Hi! Thanks for the fast answer,
if you navigate to you should be able to access a Fedora test web page, the resolved IP should be if I'm not wrong.
Also if you access for example
you should be able to download the challenge file.

Thanks again!

1 Like

I'm afraid not: the IP is correct, but both URLs are showing "Access Denied":

access denied

Is your webserver hosted behind a NAT router? Perhaps its portmap might be incorrect and pointing to a different server?

Unfortunately the returned headers of the webserver serving the error message aren't helping: no clue as to what kind of webserver/device it is..

1 Like

weird stuff, I've accessed it using my phone (no VPN or anything...) it works.
I've asked someone here if I could use his phone. It works.
I've accessed it from Spain. It works.

I've tested it even by IP (it's not a reverse proxy, it's redirecting everything at least in port 80 and 443)

And yes, sure there is a NAT in the middle, but what I can't make any sense of is you (and letsencrypt by the way) seeing that strange access denied... I'm suspicious about the firewall, that isn't being served by my server.

See also sites like or

1 Like

Thanks again, the guys from IT are not working right now but tomorrow as soon as possible I'll ask them, still I suspect the firewall might have something to do with it.

1 Like

Yeah, likely some kind of GeoLocation blocking.

curl -Iki
HTTP/1.1 403 Forbidden
Connection: close
Content-Length: 504
Content-Type: text/html; charset=UTF-8

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