2

我在 Fiware Lab 有一个使用 Context Broker + Wilma Pep 代理部署的虚拟机。PEP 配置为在 config.js 启用 httpsconfig.https = { enabled =true...}

执行下面的命令我可以看到与 node.js pep 进程相关的“https”进程

[centos@orion ~]$ sudo netstat -t -l -p

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   

tcp        0      0 *:https                     *:*                         LISTEN      1492/node     

但是当我尝试执行以下 curl 命令时,我收到以下消息

curl -v -i -X GET https://public-ip-at-fiware-lab:443/v2/entities -H "X-Auth-Token: auth-token-from-idm-keyrock"

curl: (35) Unknown SSL protocol error in connection to public-ip-at-fiware-lab:443

PEP 的配置中缺少什么?

如何调试 fiware-lab 机器中发生的事情?

如何使用 curl 命令测试 SSL?

任何提示都是受欢迎的!

提前谢谢了

4

1 回答 1

0

最后,我为机器创建了一个新证书,并且 curl 命令有效。

于 2017-10-16T09:04:10.710 回答