My domain is: gpms.jp (instance 1) - (this works fine)
subdomain is : master.gpms.jp (instance 2)
I ran this command: certbot certonly --webroot -w /var/lib/redmine/public -d master.gpms.jp
It produced this output:
Failed authorization procedure. master.gpms.jp (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://master.gpms.jp/.well-known/acme-challenge/-hkcBmz31YR5neiBJZoLirQLqC_rIEkESBeG29BfSTw: "
401 UnauthorizedUnauthorized</"
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: master.gpms.jp
401 Unauthorized
Type: unauthorized
Detail: Invalid response from
http://master.gpms.jp/.well-known/acme-challenge/-hkcBmz31YR5neiBJZoLirQLqC_rIEkESBeG29BfSTw:
"Unauthorized</"
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): Apache: 2.4.6-80 (centOS)
The operating system my web server runs on is (include version): CentOS 7.5-1804
My hosting provider, if applicable, is: Conoha VPS
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):