wss tornado connection issues

前端 未结 2 1855
梦毁少年i
梦毁少年i 2021-01-24 12:02

Tornado Server

ssl_options = {
        \"certfile\": \"server.crt\",
        \"keyfile\": \"server.key\"
}
application=Application()
server=tornado.httpserver.HT         


        
2条回答
  •  太阳男子
    2021-01-24 12:28

    The browser is probably trying to show you the "do you accept this self-signed certificate" dialog, but can't because the websocket connection is invisible. To use wss: with a self-signed certificate you must first visit a regular html page with that certificate so you can accept it.

提交回复
热议问题