Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

直接通过https://ip 访问,进行中间人代理时无法建立tls连接 #64

Open
Milk-Tang opened this issue Jan 15, 2024 · 1 comment

Comments

@Milk-Tang
Copy link

我通过在自己的机器信任代理服务器的根证书,用代理服务器做了一个中间人,然后我的机器配置代理后,通过域名访问的能正常拦截,但是通过ip的方式,如在cmd中执行curl -x http://127.0.0.1:8080 https://10.3.23.3,则提示:curl: (60) schannel: SNI or certificate check failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - 目标主要名称不正确

@blackhu
Copy link
Contributor

blackhu commented May 27, 2024

curl -x http://127.0.0.1:8080 https://10.3.23.3 -k

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants