Problem in running code-server in https secure

…衆ロ難τιáo~ 提交于 2020-05-17 06:23:06

问题


If we run docker run -d -p 8080:8080 sanjayme/vscode-dotnet-core --auth none --cert still we are facing not secure connection. How to solve this?

Even we tried something similar to

docker \
  -v /path/to/certs.crt:/home/coder/cert.crt \
  -v /path/to/cert-key.key:/home/coder/cert.key \
  -p 8080:8080 \
  run codercom/code-server:v2 \
    --cert /home/coder/cert.crt --cert-key /home/coder/cert.key

the http url is working, but if we browse https dns mapped url it's throwing an error. Check the attachment for error:

来源:https://stackoverflow.com/questions/61386014/problem-in-running-code-server-in-https-secure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!