Hacker News new | ask | show | jobs
by cyberax 4 days ago
BTW, a way to fix it is to create your own "localhost" name and issue a certificate for it. Then just commit it into your code repository.

I used to do that once every 3 years with a "regular" SSL provider. Unfortunately, now the longest period is 200 days. I'll have to set up Let's Encrypt automation for it eventually :(

1 comments

I mean depending on what you're doing you should be able to set up your own local CA and put the root cert on your internal devices and get certs as long as you want.
Local CAs are a pain in the ass to maintain, and they are a huge vulnerability. If your CA private keys leak, your devices can be MITM-ed.

It pops up in all kinds of places, like CI/CD runs or automated tests.

Hence you build your certs on an offline laptop.