不能设置成https

问答中心分类: OneinStack不能设置成https
zjfeng18 asked 6年 ago
我使用你们LAMP环境,
原来我使用的http,现在改成https,
按网站方法设置,
在./addons.sh 选择7,
安装Let’s Encrypt客户端
vhost.sh ssl和Let’s Encrypt都选择y即可
 
可是在Let’s Encrypt这里输入了y后,就不能下去了,一点提示也没有,只能强制退出,
这要怎么办呢,我的服务器是阿里云香港!
 

6 Answers
oneinstack answered 6年 ago

./upgrade.sh oneinstack
更新下oneinstack脚本
或者替换并加执行权限,如下文件
mirrors.linuxeye.com/oneinstack/include/get_public_ipaddr.py

zjfeng18 answered 6年 ago
更新下oneinstack脚本是说更新Let’s Encrypt这个组件吗

zjfeng18 answered 6年 ago
我替换了get_public_ipaddr.py文件就可以了
还有个问题,我pc站可以了,m开头的手机站,显示为不安全的,证书无效,是什么原因
让我输入更多域名是我是输入了手机站域名的,这怎么解决呀,大神?

zjfeng18 answered 6年 ago
搞定了!谢谢

laoshh answered 6年 ago
想配置http使用mod_ssl模块工作于https模型,
但是没有看懂这个帖子,说的应该是一件事,
但是启动: ./addons.sh oneinstack
得到的是:
[root@inta-centos1 oneinstack]# ./addons.sh oneinstack
#######################################################################
# OneinStack for CentOS/RadHat 6+ Debian 7+ and Ubuntu 12+ #
# Install/Uninstall Extensions #
# For more information please visit https://oneinstack.com #
#######################################################################
What Are You Doing?
1. Install/Uninstall PHP opcode cache
2. Install/Uninstall ZendGuardLoader/ionCube PHP Extension
3. Install/Uninstall ImageMagick/GraphicsMagick PHP Extension
4. Install/Uninstall fileinfo PHP Extension
5. Install/Uninstall memcached/memcache
6. Install/Uninstall Redis
7. Install/Uninstall swoole PHP Extension
8. Install/Uninstall xdebug PHP Extension
9. Install/Uninstall PHP Composer
10. Install/Uninstall fail2ban
q. Exit
真不知道该怎么办。
环境是:
Aliyun centos7.4
Apache 2.4
mysql 5.7
PHP 7.1.15

oneinstack answered 6年 ago
升级oneinstack再安装一次,升级命令如下:

~/oneinstack/upgrade.sh oneinstack