Not able to authorize ssl for my domain


#1

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

My domain is: getyourthing.com

I ran this command: sudo certbot --nginx -d getyourthing.com -d www.getyourthing.com

It produced this output:Failed authorization procedure. www.getyourthing.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.getyourthing.com/.well-known/acme-challenge/7QTwYurvJU5bsZmZasB99xG25oSz8iBmPnMfV59M5_s: "

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


#2

Hi,

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


#3

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.


#4

Can you try add this to your server conf?

location ~ /.well-known {
            allow all;
        }

Beneath location ~?

Thank you


#5

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