justcoding121 / titanium-web-proxy

A cross-platform asynchronous HTTP(S) proxy server in C#.
MIT License
1.93k stars 618 forks source link

PR_END_OF_FILE_ERROR in Firefox #739

Closed markszente closed 4 years ago

markszente commented 4 years ago

Hello,

I am trying to implement Titanium Web Proxy with Selenium, using FirefoxDriver. Plain HTTP works perfectly, but HTTPS results in a PR_END_OF_FILE_ERROR error in Firefox.

Any idea what may cause this? Root certificate is trusted.

Thanks, and sorry if I've missed something obvious.

markszente commented 4 years ago

It seems that I used .net core 2.0, upgrading solved the issue.

honfika commented 4 years ago

Cool.... so there is a bug in .NET Core 2.0 which was fixed in 3.x... good to know...

vflame commented 4 years ago

Just an FYI for folks out there, this is resolved by setting the default certificate engine and calling EnsureRootCertificate.