siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.67k stars 1.21k forks source link

The host 127.0.0.1 does not support SSL connections. #521

Open yangchun57 opened 6 years ago

yangchun57 commented 6 years ago

升级6.2版本之后,提示The host 127.0.0.1 does not support SSL connections. 请问该如何处理呀?

starlying commented 6 years ago

估计是升级的6.2.3,新的版本6.2.4已经修复此问题,下载最新的安装包,将Bin文件夹覆盖到现在的系统文件夹,再进入后台看看还报不报错

chenpoyang commented 6 years ago

@starlying 换了6.2.4, 还是不行啊

starlying commented 6 years ago

mysql是哪个版本的?

chenpoyang commented 6 years ago

@starlying

Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 Server version: 5.7.17-log MySQL Community Server (GPL)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

chenpoyang commented 6 years ago

@starlying

https://192.168.1.25/SiteServer/pageError.html?message=The%20host%20192.168.1.25%20does%20not%20support%20SSL%20connections.

错误信息
The host 192.168.1.25 does not support SSL connections.

如需帮助,请点击链接向 SiteServer CMS 官方 提交问题
starlying commented 6 years ago

嗯,我们测测看

chenpoyang commented 6 years ago

@starlying 出个Linux/Mac的安装教程也不错, 在Mac下用nginx + fastcgi-xxx-mono啥的, 在安装后输入管理用户名密码什么的后出来个什么路径错误:

osx, nginx, c#, siteserver-cms, 安装失败:错误! Could not find a part of the path" 这是读错的路径"(估计是安装过程的bug), 安装产品那
starlying commented 6 years ago

嗯,有时间研究研究@chenpoyang

yangchun57 commented 6 years ago

@starlying 请问这个问题现在有解了么?

starlying commented 6 years ago

在Web.config里面的ConnectionString的最后面增加SslMode=none;CharSet=utf8; 看看起作用没有

yangchun57 commented 6 years ago

@starlying 可以了,请问这个是什么原因造成的?

starlying commented 6 years ago

MySql官方的.NET开发包强制要求设置Ssl模式导致的,如果新安装不会有问题

chenpoyang commented 6 years ago

@starlying 新安装不会有问题, 什么意思, 怎么操作?

starlying commented 6 years ago

下载新版本安装,非升级

chenpoyang commented 6 years ago

@starlying 安装向导那出现:

错误!   Could not find a part of the path "/Users/peck/html/siteserver-cms/SiteServer.Web/SiteServer/Users/peck/html/siteserver-cms/SiteServer.Web/Web.config".

fastcgi-mono-server4启动:

➜ SiteServer git:(master) ✗ pwd
/Users/peck/html/siteserver-cms/SiteServer.Web/SiteServer
➜ SiteServer git:(master) ✗ fastcgi-mono-server4 /applications=cms.com:/:/Users/peck/html/siteserver-cms/SiteServer.Web /socket=tcp:127.0.0.1:9000 >/dev/null 2>&1 &

怎么办?

starlying commented 6 years ago

Users/peck/html/siteserver-cms/SiteServer.Web/Web.config 这是什么路径? fastcgi-mono-server4的安装我们还没开始测试,会安排到开发计划里面

chenpoyang commented 6 years ago

@starlying http://www.mono-project.com/docs/web/fastcgi/nginx/

启动fastcgi-mono-server4后, 在安装向导那一步出bug.

路径:
/Users/peck/html/siteserver-cms/SiteServer.Web/Web.config(macbook path)
相当于Linux下的路径:
/home/peck/html/siteserver-cms/SiteServer.Web/Web.config(linux path)

用Linux做安装测试应该就可以了.

starlying commented 6 years ago

好的