Skip to content

生成新的CA证书(压缩包中有自带的证书,这一步可选)

shell
cthulhu cagen ./

cthulhu.key
cthulhu.cer
ca证书将会生成在./ca/目录下

设置CA证书

shell
cthulhu config set certificate.key ./ca/cthulhu.key
cthulhu config set certificate.cert ./ca/cthulhu.cer

安装CA证书

下载CA证书

在浏览器中访问 http://api.cthulhu.server/server/downloadCa 将会开始下载cthulhu.cer文件

信任CA证书

windows系统

直接双击证书文件 cthulhu.cer,点击安装,然后将证书放入受信任的根证书颁发机构存储区中

ios系统

在safari浏览器中访问上文链接,当下载完成会有弹窗提示
苹果官网的CA证书设置教程

android系统

各品牌手机系统可能有区别,但大致都是在设置里面,尝试在设置中搜索 证书,然后找到相关设置,从文件中安装刚刚下载的证书文件,然后对其完全信任

启动服务器

shell
cthulhu run
cthulhu run -s # 作为系统代理运行

Released under the MIT License.