v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

使用自签名证书的问题

Open mengniu8 opened this issue 3 years ago • 2 comments

今天突然想使用自签名证书来配置v2ray,但是发现客户端必须安装了这个证书才能使用。请问有没有办法不在系统内安装这个自签名证书就可以使用?

mengniu8 avatar Jun 10 '22 16:06 mengniu8

客户端设置允许不安全的证书

"tlsSettings": {
    "allowInsecure": true
},

azzvx avatar Jun 11 '22 03:06 azzvx

Use only specified certificates in v2ray without installing them into system root CA. See the official document.

"tlsSettings": {
    "allowInsecure": false,
    "disableSystemRoot": true
    "certificates": [
        {
            "certificateFile": "/path/to/ca.crt",
            "usage": "verify"
        }
    ]
}

jose-C2OaWi avatar Aug 26 '22 08:08 jose-C2OaWi

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Dec 25 '22 02:12 github-actions[bot]