Remix.run Logo
meling 13 hours ago

If I can use my DHCP assigned IP, will this allow me to drop having to use self-signed certificates for localhost development?

michaelt 12 hours ago | parent | next [-]

No, they will only give out certificates if you can prove ownership of the IP, which means it being publicly routable.

wongarsu 12 hours ago | parent | next [-]

Finally a reason to adopt IPv6 for your local development

greyface- 5 hours ago | parent [-]

Yes, please publish the location of your dev servers in Cert Transparency logs for everyone to see.

inetknght 12 hours ago | parent | prev | next [-]

A lot of publicly routable IP addresses are assigned by DHCP...

meling 4 hours ago | parent | prev | next [-]

Sorry, I wasn’t precise enough. I’m at a university and our IP addresses are publicly routable, I think.

toast0 10 hours ago | parent | prev [-]

It's just control isn't it, not ownership? I can't prove ownership of the IPs assigned to me, but I can prove control.

einsteinx2 9 hours ago | parent [-]

Yes that’s correct

wolttam 12 hours ago | parent | prev | next [-]

Browsers consider ‘localhost’ a secure context without needing https

For local /network/ development, maybe, but you’d probably be doing awkward hairpin natting at your router.

treve 12 hours ago | parent [-]

it's nice to be able to use https locally if you're doing things with HTTP/2 specifically.

Sohcahtoa82 11 hours ago | parent | prev [-]

What's stopping you from creating a "localhost.mydomain.com" DNS record that initially resolves to a public IP so you can get a certificate, then copying the certificate locally, then changing the DNS to 127.0.0.1?

Other than basically being a pain in the ass.

cpach 11 hours ago | parent [-]

One can also use the DNS-01 challenge in that scenario.