4 ms·
As illustrated by several of the replies, people can do this, particularly using the ACME standard. In fact it's slightly surprising to me that many more web se
by tialaramex 6y ago
As illustrated by several of the replies, people can do this, particularly using the ACME standard. In fact it's slightly surprising to me that many more web server applications don't do this yet, I had sort of expected that Microsoft for example would ship an IIS that just magically works, maybe supplied out of box with a coupon for one certificate per Windows Server license or something from a for-profit Certificate Authority, and maybe then you either change a registry value to use Let's Encrypt or you pay them $10 per cert for the out-of-box behaviour. Or that services that are intended to run as a web server, like Jenkins or Bugzilla would do all this for you.
But you won't be able to solve the general problem without some other element. The current iteration of the Ten Blessed Methods makes it very easy to have an HTTP or HTTPS server that arranges for its own certificates with ACME, because they assume that if you get to run web servers (on port 80 and/or 443) on some.name.example that's because you control some.name.example or you've got permission from whoever does control it to do whatever you want.
It's trickier for a mail server. You may genuinely run the MX for some.name.example but if you don't control DNS for that name, nor run the web servers, you can't pass ACME challenges. In the case of a mail server you could automate a hypothetical ACME challenge that relies on say 3.2.2.4.4 Constructed Email to Domain Contact but I don't think anybody actually offers that today.
It's completely impossible (today, on your own) for some other random TLS service. If you run the TLS-enabled IRC server on some.name.example you can't get certificates without help from the person who really controls the some.name.example FQDN. They need to either let you run an HTTP server, control their DNS records or just hand out working certificates to you somehow.