News for hackers. Stuff that matters.
Re:Certificates for localhost by mafro on Wednesday June 20, 2018 @05:58PM (#17360187)
Interesting! How do you go about binding an unused port on client machines?
Re:Certificates for localhost by mholt on Wednesday June 20, 2018 @06:02PM (#17360217)
Use port :0 to let the OS choose one.

But for now we just hard-code a port. I personally prefer this since it's easy to use and convenient to remember. But if a lot of client machines have conflicts, I guess we'll change that...

Re:Certificates for localhost by piva00 on Thursday June 21, 2018 @04:34AM (#17363182)
Why not just change that? You are already in the same host, you can write the port that the server bound to on startup to a file and just read that from the client.

I've implemented something similar and went through the same stage "I will wait until someone complains" and they will happen, just prevent them right now :)