0
我ssh到我的Openshift应用程序,让POST请求(以MLAB数据库MongoDB的服务器)SSL错误:与卷曲这样的卷曲在Openshift
curl --trace -s -H "Content-Type: application/json" -X POST -d '{"m":"hihihi","t":"category","tid":"393"}' https://api.mlab.com/api/1/databases/babi/collections/massrequest?apiKey=CvI9xC12d4dgjxTncXLz_y-PqNhqwP7RE
追踪结果表明:
== Info: About to connect() to api.mlab.com port 443 (#0)
== Info: Trying 54.144.240.132... == Info: connected
== Info: Connected to api.mlab.com (54.144.240.132) port 443 (#0)
== Info: Initializing NSS with certpath: sql:/etc/pki/nssdb
== Info: CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
== Info: NSS error -12286
== Info: Closing connection #0
== Info: SSL connect error
curl: (35) SSL connect error
我不知道为什么我无法连接到这个POST请求的mLab API。有没有人像我一样得到这个问题?