cedar2025 / hysteria

add support v2board to Hysteria2
https://v2.hysteria.network/
MIT License
158 stars 58 forks source link

请求添加连接到v2board api不进行证书校验 #11

Open NikoCat233 opened 5 months ago

NikoCat233 commented 5 months ago

本人v2board强制启用了https,但是我希望hysteria使用ip端口直接连接v2board api 显然这无法通过证书校验,请求添加跳过证书校验的选项

2024-03-19T23:41:35+08:00 FATAL failed to client v2board api to get nodeInfo {"error": "Get \"https://127.0.0.1/api/v1/server/UniProxy/config?node_id=1&node_type=hysteria&token=**\": tls: failed to verify certificate: x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs"}

NikoCat233 commented 5 months ago

歪门邪道:本地hosts指定域名解决问题