流星SSL连接 [英] Meteor SSL connection

查看:86
本文介绍了流星SSL连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过SSL/TLS连接到我的Meteor项目.

I'm trying to connect to my Meteor project via SSL/TLS.

因此,我做了以下事情:

Therefore I did the following:

流星添加force-ssl

在流星文件夹中. 然后,我从流星"开始编程.

in the meteor folder. Then I start the programm with 'meteor'.

一切在localhost上都运行良好,但是如果我想通过http提供IP和端口来连接到服务器,则会重定向到具有相同IP和无法连接消息"的https连接.

Everything is running fine on localhost, but if I want to connect to the server with giving the IP and Port over http, I get redirected to a https connection with the same IP and an 'Unable to connect message'.

注意:我自己创建了一个证书,并将其放入流星/服务器"文件夹中.

Note: I created a certificate on my own an put it into the Meteor/server folder.

有人知道我的错误吗?

推荐答案

如果您需要启用 Meteor Up 部署的Meteor应用程序> SSL支持.现在,它已支持SSL.您只需要告诉SSL证书和密钥在哪里即可.

If you need to enable SSL support for your Meteor app deployed with Meteor Up. Now it has the support for SSL. You just need to tell where the SSL certificate and the key are.

如果您不熟悉生成SSL证书的过程,请遵循本指南.

If you are not familiar with the process of generating a SSL certificate, follow this guide.

免责声明:我是Meteor Up的作者.

Disclaimer: I'm the author of Meteor Up.

这篇关于流星SSL连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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