Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.
OS Name/Version: Ubuntu 20.04.6 LTS (Focal Fossa)
Product Name/Version: AMP 2.4.4
Problem Description: I am running getamp postSetupHTTPS and am getting an error because the challenge is failing.
domain: (subdomain).(domain).com
type: unauthorized
Detail:(myip) invalid response from http://(mysubdomain).(mydomain)/.well-known/acme-challenge/(challengestring)
“to fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record for that domain contain the right IP Address.” (Double checked DNS record and it is correctly pointing) (ex. amp.(mydomain).com to my public ip address)
[Error] Certbot failed with code 1.
failed to configure nginx. Please check (logfile) aborting.
Log file does not show Anything about why it failed.
Steps to reproduce:
- Step 1: run getamp postSetupHTTPS
- Step 2 Follow prompts with entering correct info and then it fails.
Actions taken to resolve so far:
checked A record. verified it is pointing correctly to my public ip. amp.(mydomain).com to puiblic ip.
Double checked made sure port 80 and 443 were port forwarded.
currently have ufw disabled on OS.
Restarted the server.
ran setup again. same thing.
Not sure what else to try at this point.