[ad_1]
I have two computers (clients) on the same LAN. Computer A runs a Bokeh plot and I want to see it on computer B. Running the python file works fine:
bokeh serve myapp.py --allow-websocket-origin=*:5006
Computer B can see the application with the URL: computerA.IP:5006/myapp with HTTP.
I have created a SSL certificate using OpenSSL and tried to add it in order to see it with HTTPS and not HTTP.
bokeh serve myapp.py --allow-websocket-origin=*:5006 --ssl-certfile C:/path/certificate.pem
Then an error appears:
Cannot start Bokeh server [EBADF]: SSLError(9, ‘[SSL] PEM lib (_ssl.c:4065)’)
how could I add the SSL? I am not sure that the solution that is described in Bokeh Serve HTTPS instead of HTTP
is right because it refers to nginx settings.
[ad_2]