Openshift node.js:我需要在Web控制台或应用程序中加载ssl证书吗? [英] Openshift node.js: do I need to load ssl certificates in the web console or in the application?

查看:145
本文介绍了Openshift node.js:我需要在Web控制台或应用程序中加载ssl证书吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了在我的 node.js 应用程序上运行HTTPS,我在应用程序中加载了证书。它适用于我的笔记本电脑。我正在推动我在OpenShift上的工作,但该应用程序不再起作用(ligatures.net)。

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).

Openshift [文档] [1]表示可以加载证书通过Web控制台。所以我需要在我的应用程序中加载我的SSL证书,还是应该依赖Web控制台呢?

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?

推荐答案

你需要将ssl证书加载到OpenShift Web控制台中,因为ssl终止发生在作为您的设备所在节点一部分的代理上。

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.

这篇关于Openshift node.js:我需要在Web控制台或应用程序中加载ssl证书吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆