DEV Community

Discussion on: Running SSL on localhost

electrode profile image
Electrode Cathode

I'm so interested to learn more about this.

daniel15 profile image
Daniel Lo Nigro

You can use Let's Encrypt DNS validation to get certificates for servers even if they're not accessible over the internet (for example, for internal servers or local development). Certbot and both support this and integrate with various DNS APIs to handle the validation, or you could manually set the required TXT record.

I use acme-dns to handle the validation, but it takes a bit of setup.