Not able to authorize ssl for my domain

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: sudo certbot --nginx -d -d

It produced this output:Failed authorization procedure. (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from "

My web server is (include version): nginx

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

My hosting provider, if applicable, is: Google cloud

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

I am not able to authorize my ssl, could someone please help me out with this. Please share steps to be followed. Thanks in advance


You have a cms that redirect your webpage from the real auth file to 404.
You can add a rule to your server that prevent the redirect from happening.

Thank you

Thanks for the reply Stevenzhu. My application runs on 8069, I have redirected 8069 to 80, to use domain without entering port number. How to prevent cms redirect.

Can you try add this to your server conf?

location ~ /.well-known {
            allow all;

Beneath location ~?

Thank you

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