【发布时间】:2012-09-28 18:38:22
【问题描述】:
我有一个 WorkerRole 配置为通过 csdef 中的 Runtime/EntryPoint/ProgramEntryPoint 元素启动 node.exe,并在端口 443 上为 https 配置了一个 HttpsIn EndPoint 并带有有效证书。我还在 Runtime/Environment 中设置了 PORT 环境变量,节点使用它来监听传入的请求。
当我启动服务(在本地开发结构或 Azure 中)并尝试访问该服务时,我收到以下错误:
SSL connection error
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.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
我已经验证了node.exe确实在服务启动时启动了,如果我在Compute Emulator中查找本地端口,通常是这样的:
http://localhost:444
我能够使用我的浏览器直接成功地点击节点。未配置 SSL 时,我也可以通过 Azure 访问节点。
我错过了什么?谢谢!
【问题讨论】:
标签: javascript node.js ssl azure