Hi,
I want to generate a https cert for my site, which runs on port 40250. It doesn't use apache, it uses express js, and I use the noip dyndns service to map my dynamic ip to a hostname.
What options do I have to make this work?
My domain is: ....
I ran this command:
sudo certbot certonly --standalone -d myhost.ddns.net
It produced this output:
sudo certbot certonly --standalone -d myhost.ddns.net
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mybox.ddns.net
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. mybox.ddns.net (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mybox.ddns.net/.well-known/acme-challenge/vY2t_soI-D8dX4-4DhmQcSsSCZO0ALMRYLRb4t74GiE: "\n\n404 Not Found\n\nNot Found
\n<p"IMPORTANT NOTES:
The following errors were reported by the server:
Domain: mybox.ddns.net
Type: unauthorized
Detail: Invalid response from
http://mybox.ddns.net/.well-known/acme-challenge/vY2t_soI-D8dX4-4DhmQcSsSCZO0ALMRYLRb4t74GiE:
"\n\n404 Not
Found\n\nNot Found
\n<p"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.
My web server is (include version):express js
The operating system my web server runs on is (include version): RHEL 7.4
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 0.31.0.dev0