I’m currently trying to create certificate for this domain: mongoplayground.net
I’m running the certbot in a google cloud compute VM (ubuntu 16.04), so I can login to a root shell on my machine.
After trying standalone mode, I switched to manual mode. I’m using a golang file server to serve the content of a directory
I ran this command:
sudo certbot certonly --manual Please enter in your domain name(s) (comma and/or space separated) (Enter 'c' to cancel): mongoplayground.net,www.mongoplayground.net Are you OK with your IP being logged? y
After that, I created the required files and made sure that it was accessible:
but then got this error:
- The following errors were reported by the server: Domain: mongoplayground.net Type: unauthorized Detail: Invalid response from http://mongoplayground.net/.well-known/acme-challenge/n4v8qbTVKzL9UJGSJfflr92v7qPGjnlmNtFVxwqqYy0: "<!DOCTYPE html><body style="padding:0; margin:0;"><html><body><iframe src="http://mcc.godaddy.com/park/rzWuqTWwrJ5fqTIvnTSkYzSlM" Domain: www.mongoplayground.net Type: unauthorized Detail: Invalid response from http://www.mongoplayground.net/.well-known/acme-challenge/-yhb3-t2rF4Bp8Kmej_girBqO9qE-ReVQUTBsLT83Qw [22.214.171.124]: 404 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.
DNS A record is configured from goDaddy, and point to the static IP of my VM.
What am I missing here ?
Thanks in advance