简体   繁体   English

docker SSL连接错误

[英]docker SSL connection error

Im new to Docker and have been experimenting with running different apps in containers (with some success). 我是Docker的新手,并且一直在尝试在容器中运行不同的应用程序(取得了一些成功)。 Currently im trying to run an app (ajenti) that requires https on a different port 目前,我正在尝试运行需要在其他端口上使用https的应用程序(ajenti)

for example 例如

https://example.com:8000 https://example.com:8000

everything will startup just fine. 一切都会正常启动。 however when I try to connect to through browser I get the error 但是,当我尝试通过浏览器连接时出现错误

SSL connection error SSL连接错误

Unable to make a secure connection to the server. 无法与服务器建立安全连接。 This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. 这可能是服务器出现问题,或者可能需要您没有的客户端身份验证证书。

I'm not sure where the problem is, is it on the docker host or the docker container? 我不确定问题出在哪里,是在Docker主机还是在Docker容器上?

anyone have experience with this, thanks in advance! 任何人都有经验,在此先感谢!

for anyone interested, issue was on the docker container. 对于任何有兴趣的人,问题都在码头集装箱上。 I needed to generate a ssh key 我需要生成一个ssh密钥

as it turns out I could login into ajenti via http (with warnings) then generate key in config options 事实证明,我可以通过http(带有警告)登录到ajenti,然后在配置选项中生成密钥

alternatively I could have attached to container and generated ssh key 或者我可以附加到容器并生成ssh密钥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM