Back to front pageView on Hacker News (opens in a new tab)Show HN: Mkcert – Valid HTTPS certificates for localhost (opens in a new tab)blog.filippo.io839 pointsby FiloSottile (on Hacker News)7 years agoblog.filippo.io (opens in a new tab)mkcert: valid HTTPS certificates for localhostComments (115) 39 threadsShow all commentsShowing thread 4 of 39[-]Sidnicious7 years ago2 replies#It's worth noting that UAs can treat localhost, 127.0.0.1, etc. as secure even when they're visited over plain HTTP:https://w3c.github.io/webappsec-secure-contexts/#potentially...Chrome (in the post's screenshots) follows this; I'm not sure about other UAs.[-]helloguillecl7 years ago1 reply#This does not work if you want to use a hostname other than "localhost" (for running VirtualHost) pointing to your local machine.[-]devereaux7 years ago1 reply#Open a world of fun by running your local services like proxies on 127.1.2.3, 127.2.3.4, etc with the matching hostnames in /etc/hostsYou have 127.255.255.255 to play with!Fnoord7 years ago4 replies#You mean 127/8Continue this thread — 4 replies[-]sthottingal7 years ago2 replies#It is broken in Firefox since version 62 https://bugzilla.mozilla.org/show_bug.cgi?id=903966runn1ng7 years ago#It's not, the comment is mistaken, CORS is unrelated.But you need to use 127.0.0.1, not `localhost`jwatt7 years ago#That's an old, long closed bug. I think the bug you want is https://bugzilla.mozilla.org/show_bug.cgi?id=1488740
Show HN: Mkcert – Valid HTTPS certificates for localhost (opens in a new tab)blog.filippo.io839 pointsby FiloSottile (on Hacker News)7 years ago
Sidnicious7 years ago2 replies#It's worth noting that UAs can treat localhost, 127.0.0.1, etc. as secure even when they're visited over plain HTTP:https://w3c.github.io/webappsec-secure-contexts/#potentially...Chrome (in the post's screenshots) follows this; I'm not sure about other UAs.
helloguillecl7 years ago1 reply#This does not work if you want to use a hostname other than "localhost" (for running VirtualHost) pointing to your local machine.
devereaux7 years ago1 reply#Open a world of fun by running your local services like proxies on 127.1.2.3, 127.2.3.4, etc with the matching hostnames in /etc/hostsYou have 127.255.255.255 to play with!
sthottingal7 years ago2 replies#It is broken in Firefox since version 62 https://bugzilla.mozilla.org/show_bug.cgi?id=903966
runn1ng7 years ago#It's not, the comment is mistaken, CORS is unrelated.But you need to use 127.0.0.1, not `localhost`
jwatt7 years ago#That's an old, long closed bug. I think the bug you want is https://bugzilla.mozilla.org/show_bug.cgi?id=1488740
Comments (115) 39 threads
Show all comments
Showing thread 4 of 39
https://w3c.github.io/webappsec-secure-contexts/#potentially...
Chrome (in the post's screenshots) follows this; I'm not sure about other UAs.
You have 127.255.255.255 to play with!
Continue this thread — 4 replies
But you need to use 127.0.0.1, not `localhost`