Error in creating in Certificate


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

I ran this command:
sudo certbot certonly --manual

I have crated a file in static folder in such way that
will download a file containing the string mentioned in command prompt

When tried from browser a file will be downloaded with the name a-string containing the token.

It produced this output:
Type: unauthorized
Detail: Invalid response from
"<!doctype html>

       <meta http-equiv="Content-Type" content="text/html;

<meta htt"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

  • Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.

My web server is (include version): express server running in Debian 9

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

My hosting provider, if applicable, is: not applicable

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):no


Are you sure your domain is correctly pointed at your server? If I request I seem to get a GoDaddy URL shortener. If I request I get a 301 redirect to a Google Cloud IP address (HTTP on port 8443), which is running Express so I guess that’s your server.

I’m guessing you probably want to point the domain directly at the Google Cloud server using an A record, rather than a redirect. You’ll also need a webserver on port 80 to complete the challenge.


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