Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
donatj
on Aug 23, 2020
|
parent
|
context
|
favorite
| on:
Ask HN: How to do cross platform GUI?
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.
J-Kuhn
on Aug 23, 2020
|
next
[–]
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
kodablah
on Aug 23, 2020
|
parent
|
next
[–]
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.
modeless
on Aug 23, 2020
|
prev
|
next
[–]
I believe that Chrome treats all localhost connections as secure now. Not sure about other browsers.
yorwba
on Aug 23, 2020
|
prev
[–]
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: