News for hackers. Stuff that matters.
Re:MITM on HTTPS traffic in Kazakhstan by vbezhenar on Thursday July 18, 2019 @05:31PM (#20474112)
That would be a bad use IMO. Letsencrypt solves any need for legitimate certificates.
Re:MITM on HTTPS traffic in Kazakhstan by technion on Thursday July 18, 2019 @06:51PM (#20474729)
I don't think it's a bad use. When I logon to my SAN or UPS web interfaces, I don't want to type https://ups01.publicDNSdomain.com, and visit a site with a CT logged certificate. It's an absolutely internal thing and every Active Directory domain already has an (ideally) non-externally resolved DNS domain setup for use. You've already got an internal CA and deployed your own root because there's a series of Microsoft services that work best this way, so it makes a lot of sense to continue to use rather than trying to introduce Lets Encrypt in this scenario.
Re:MITM on HTTPS traffic in Kazakhstan by vbezhenar on Thursday July 18, 2019 @06:53PM (#20474742)
You don't have to serve that website publicly or even set up DNS records. You only need to set up DNS verification to serve one public TXT record for letsencrypt. Everything else could be internal. Letsencrypt certifies that you own domain. You can do anything with that domain.
Re:MITM on HTTPS traffic in Kazakhstan by viraptor on Thursday July 18, 2019 @07:17PM (#20474920)
Sometimes you don't want to make that information public though. For security (you don't want to publish your whole tech stack information) and secrecy (you don't want to publish registration of halflife3.internal.valve.com).
Re:MITM on HTTPS traffic in Kazakhstan by the_duke on Friday July 19, 2019 @04:43AM (#20477089)
Then just use a wildcard cert.
Re:MITM on HTTPS traffic in Kazakhstan by viraptor on Friday July 19, 2019 @05:56AM (#20477315)
Wildcard certs are a security ops nightmare. You really don't want to throw the private key for that around to every small project, and you need some good, automated way of rolling them across multiple services. Doable, but if you can avoid this, it's a better to avoid.
Re:MITM on HTTPS traffic in Kazakhstan by GordonS on Sunday July 21, 2019 @02:52PM (#20492987)
This 100x - in just about any organisation of any size, if you use a single wildcard cert for all internal services, then it's inevitable that the private key will end up in the hands of an employee that shouldn't have it.
Re:MITM on HTTPS traffic in Kazakhstan by technion on Thursday July 18, 2019 @07:12PM (#20474889)
I'm aware you can use Lets Encrypt that way, I just don't agree that it's bad use of an internal PKI to use it as an alternative.
Re:MITM on HTTPS traffic in Kazakhstan by vbezhenar on Thursday July 18, 2019 @07:26PM (#20474972)
Well, it's unnecessary work to install and maintain that internal CA. Keeping CA key safe is very important, because leaked key might lead to your internal connections to, e.g., Google be compromised, so it's like keeping a bomb inside your building. If you already have that internal PKI, you can use it, sure, but I still think that it's a bad idea to use it only for internal websites.
Re:MITM on HTTPS traffic in Kazakhstan by cat199 on Thursday July 18, 2019 @06:32PM (#20474582)
> Letsencrypt solves any need for legitimate certificates.

... unless you want any private keys to be personally signed and or generated by bob & alice over in security after checking some boxes in an internal audit form, or any other number of company-internal schemes involving signing and encryption of business-specific data

Re:MITM on HTTPS traffic in Kazakhstan by vbezhenar on Thursday July 18, 2019 @06:57PM (#20474766)
You're generating private key securely. You're generating CSR which contains public key and signed by that private key and now you need to move that CSR from private location to a public location. But that's not bad, it does not contain anything that could be compromised and your private key is kept safe. Then you're using letsencrypt to issue that certificate using that CSR and keep using that CSR (it does not expire) to renew certificate. All that time private key is kept in safety and is only used by your webserver. Letsencrypt allows you to generate legitimate certificate for internal websites without any compromise on security.

The only use-case that's not possible with Letsencrypt is to issue certificate for IP address.

Re:MITM on HTTPS traffic in Kazakhstan by layoutIfNeeded on Thursday July 18, 2019 @06:01PM (#20474345)
Lol. Sure, company sysadmins will run certbot on their mainframes.
Re:MITM on HTTPS traffic in Kazakhstan by vbezhenar on Thursday July 18, 2019 @06:59PM (#20474784)
There are plenty of clients for letsencrypt, including even Bash ones. That should not be a problem.
Re:MITM on HTTPS traffic in Kazakhstan by michaelt on Friday July 19, 2019 @08:42AM (#20478122)
Letsencrypt only issues certs for publicly accessible hosts. If you've got a bunch of intranet servers / REST services / whatever that are firewalled from the public internet, you're out of luck.
Re:MITM on HTTPS traffic in Kazakhstan by jupp0r on Friday July 19, 2019 @11:35AM (#20479479)
Thats incorrect, you can verify using DNS zone records, so the server can be as firewalled or air gapped as you want.