ssl 证书公私钥文件

问答中心分类: Linuxssl 证书公私钥文件
nick_php@163.com asked 6年 ago

https://github.com/walkor/phpsocket.io/tree/master/docs/zh
我使用这个框架开发网页推送服务,但是启动服务报错,以下是报错信息
```
SSL handshake error: stream_socket_enable_crypto(): SSL_R_NO_SHARED_CIPHER: no suitable shared cipher could be used. This could be because the server is missing an SSL certificate (local_cert context option)
```
查看生成的公私钥文件跟在阿里云,七牛云都不同

Question Tags:

4 Answers
nick_php@163.com answered 6年 ago
执行 ./vhost.sh del 为什么ssl证书不会删除掉的?

nick_php@163.com answered 6年 ago
已经安装文档配置了公私钥,跟 /usr/local/nginx/conf/ssl 目录下的文件都是软连接有关系吗?

Yephy answered 6年 ago
建议清除相关的配置文件,单纯使用 ./vhost.sh del 脚本貌似只能删除对应的Nginx配置和虚拟机配置目录