I have set up a subdomain db.permaculture.org.nz in order to run phpMyAdmin. Our intention was to not have an A record for this subdomain, with the two people who need to access it configuring their HOSTS files. (which I guess counts as security by obfuscation).
However, Certbot refused to create the cert:
IMPORTANT NOTES: - The following errors were reported by the server:
Domain: db.permaculture.org.nz Type: unknownHost Detail: No valid IP addresses found for db.permaculture.org.nz
Now I could create the A record and remove it after generating the certificate, but this is a nuisance, and wouldn’t I have to repeat it every 90 days to renew the cert (worse, would it affect the auto-renew of the other subdomain certs?)
Is there any alternative workaround?
My operating system is (include version): CentOS 6.8
My web server is (include version): Apache 2.4
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