How can I establish a secure connection to a websocket on localhost?

后端 未结 1 783
春和景丽
春和景丽 2021-02-20 02:02

We have an application which we run on a POS terminal, that should receive data from an application running on the same machine, while displaying content from a remote site whic

相关标签:
1条回答
  • 2021-02-20 02:45

    If you have admin privileges on the POS terminals, how about adding a line to the HOSTS file like:

    127.0.0.1 localhost.mycompany.com
    

    Now you can use a real certificate for localhost.mycompany.com in the server application.

    0 讨论(0)
提交回复
热议问题