Hacker News new | past | comments | ask | show | jobs | submit login

Is there a good way of doing SSL with this that doesn’t require hacking self signed certs into the users browser? A lot of newer web APIs are requiring SSL.



Most modern browsers should consider http://127.0.0.1/ or http://[::1]/ as trustworthy.

See https://www.w3.org/TR/secure-contexts/#is-origin-trustworthy


In my experience, it's http://localhost that is considered secure, but not http://127.0.0.1. This may have changed since I last checked.


I believe that Chrome treats all localhost connections as secure now. Not sure about other browsers.


You can access those APIs using SSL from the server, which then relays the results to the client.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: