Hello, I need to know if the certificates generated by lets encript can be used in an easy way for my internal domains.
Currently I have a windows DNS server that is my internal DNS, and I want to know if I can use it to “validate” domains not valid on the Internet, but if they are in my internal DNS.
This leaves much to the imagination and interpretation of the reader:
From what I read, you want to obtain a certificate for a subdomain of a real Internet domain.
But the subdomain doesn't exist anywhere on the Internet (only within your private network).
If that is the case, you can (but only with a wildcard cert - which requires DNS validation).
[the key element being "a subdomain of a real Internet domain"]
If I misread it, then please add some more detail/clarity to the problem/request.
Yes, something like this is what I have, a domain valid on the internet and I need to create another subdomain valid only for my internal network. My internal DNS (windows 2012 R2) would be responsible for validating my intranet.mydomain.com website. Could you give me more details if it is possible to use a LE certificate? thanks!
Yes, you can obtain an LE cert for any real domain or subdomain of any real domain.
Since the actual subdomain doesn’t exist on the Internet, the only validation method available is DNS.
You can obtain practically any possible real name and wildcards to cover entire subdomains (of real domains) through DNS validation.
You should look for an ACME client that allows for DNS validations and that also works with your Internet DNS provider and can run on any of your internal systems (as a cert distribution point - if you need many certs) - even directly on an IIS server or Windows DNS server.
If your Internet DNS provider is not supported via API/plugin, or to just simplify the initial TEST, you can get a cert by manually creating the validation TXT records in the zone or by using an online free service site (like: https://www.sslforfree.com/).
[automation is highly preferred]
If you're using DNS validation, it doesn't have to be a wildcard cert. You might want it to be, but it isn't inherently required.
To use DNS validation, you'll need to have public-facing DNS servers that will serve TXT records for _acme-challenge.yourdomain--it isn't enough to serve those records to your LAN. But given that, and the ability to update those DNS records automatically, this can work very well (it's what I do for my internal hosts on my home network).
I understand, I also have an external DNS that is the one we manage for our valid domains on the internet. Could I generate a TXT record in the domain “mydomain.com” to be validated by LE?
How can I generate that code that I must enter in the TXT register? And finally, will I have to do the same work every 90 days?
Yes, but such a record would NOT cover {any-name}.SUBDOMAIN.yourdomain.com.
The whole point of LE is automation.
So, you should look for a combination of client, API, and DNS provider, implementation that can be fully automated.
Yes, the work will need to be done; But hopefully it will be fully automated and "you" won't have to do anything (manually).