OpenVPN / openvpn

OpenVPN is an open source VPN daemon
http://openvpn.net
Other
10.25k stars 2.92k forks source link

I'm getting a certificate error when I use OpenVPN to access a website with HSTS turned on. #546

Open do02fw opened 2 months ago

do02fw commented 2 months ago

IMPORTANT NOTE Bugs about OpenVPN Access Server, OpenVPN Connect or any other product by OpenVPN Inc. should be directly reported to OpenVPN Inc. at https://support.openvpn.net

Describe the bug A clear and concise description of what the bug is.

When I use OpenVPN to access a website with HSTS enabled, it says that the website certificate is incorrect, and I check the certificate information of the website and find that it has been hijacked to Facebook.com, because I am in China, China will hijack the blocked website to Facebook.com, and I am using Edge Canary browser, when I close the browser and open it again to access this website, it is normal, I use DNS is 1.1.1.1, OpenVPN does not support proxy HSTS traffic?

To Reproduce Steps to reproduce the behavior. Please make sure to not post any secrets like keys and passwords.

Expected behavior A clear and concise description of what you expected to happen.

Version information (please complete the following information):

Additional context Add any other context about the problem here.