Openshift node.js: do I need to load ssl certifica

2019-09-06 14:59发布

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条回答
女痞
2楼-- · 2019-09-06 15:45

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.

查看更多
登录 后发表回答