I have a server running on a private subdomain, server.internal.example.com
example.com
is public but internal.example.com
is not.
I've used CertBot to generate a certificate for *.example.com
but if I try to expand this to include *.internal.example.com
the DNS challenge fails because LetsEncrypt cannot reach this domain. I have tried running both:
sudo certbot certonly --manual --preferred-challenges=dns -d *.example.com -d *.internal.example.com
sudo certbot certonly --manual --preferred-challenges=dns -d *.example.com -d server.internal.example.com
but these both require me to make a DNS record change that LetsEncrypt cannot see. Is there any way around this?