简体   繁体   English

解析服务器SSL IIS

[英]Parse-server SSL IIS

I have tried using serverURL as localhost:1337/parse and publicServerURL as https://mydomaindotcom:1337/parse but I don't know how parse is recognizing the certificate. 我尝试使用serverURL作为localhost:1337 / parse和publicServerURL作为https:// mydomaindotcom:1337 / parse,但是我不知道解析如何识别证书。 I don't see a config value to set the cert for parse-server. 我看不到用于为parse-server设置证书的配置值。

Also tried adding cert to IIS 7 to a website on port 443 and using URL Rewrite 2.0 to localhost:1337/parse. 还尝试将IIS 7中的cert添加到端口443上的网站,并使用URL Rewrite 2.0到localhost:1337 / parse。

I'm running a self-hosted parse instance using node. 我正在使用节点运行自托管的解析实例。 parse-server is installed globally. parse-server已全局安装。 I'm using a config file to start to instance. 我正在使用配置文件开始实例化。

Server works fine on http, however I need to utilize https so I can use the rest or js api key without passing headers like so https://myAppID:javascript-key=myJavaScriptKey@mydomaindotcom/classes/GameScore/Ed1nuqPvcm 服务器在http上工作正常,但是我需要利用https,因此我可以使用其余的或js api密钥,而无需像https:// myAppID:javascript-key = myJavaScriptKey @ mydomaindotcom / classes / GameScore / Ed1nuqPvcm那样传递标头

Any help is much appreciated. 任何帮助深表感谢。

如果要使用的端口,则需要添加一个引用端口1337的https绑定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM