Openshift node.js: do I need to load ssl certificates in the web console or in the application?

此生再无相见时 提交于 2019-12-13 04:59:52

问题


In order to run HTTPS on my node.js application, I load the certificates within my application. It works fine on my laptop. I am now pushing my work on OpenShift, but the app does not work anymore (ligatures.net).

The Openshift [documentation][1] says certificates can be loaded via the web console. So do I need to load my SSL certificates within my application or should I rely on the web console instead?


回答1:


You need to load the ssl certificates in the OpenShift web console, as the ssl termination happens on the proxy that is part of the node that your gear is on.



来源:https://stackoverflow.com/questions/25630353/openshift-node-js-do-i-need-to-load-ssl-certificates-in-the-web-console-or-in-t

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