Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

HTTPS sites fail to open in Edge starting from 3.1.1099 #685

@mrc77

Description

@mrc77

Hi, I've found a bug introduced in release 3.1.1099 (3.1.1096 was ok), and still present in the latest beta. If you setup a simple proxy (without "SSL decryption"), some MS tools (Edge, MS Store, WinUpdate, etc) fail to access HTTPS resources (Edge says the certificate is invalid), while other programs (Chrome, Firefox, etc) work fine.

  1. Create a .NET Core 3.0 console app, with the following code in the Program.cs file:
using System;
using System.Net;
using Titanium.Web.Proxy;
using Titanium.Web.Proxy.Models;

namespace ConsoleProxy
{
    class Program
    {
        static void Main()
        {
            using ProxyServer ps = new ProxyServer(false, false, false);
            ps.AddEndPoint(new ExplicitProxyEndPoint(IPAddress.Any, 8081, false));
            ps.AddEndPoint(new ExplicitProxyEndPoint(IPAddress.IPv6Any, 8081, false));
            ps.Start();
            Console.WriteLine("Running, press any key to exit...");
            Console.ReadKey();
            ps.Stop();
        }
    }
}
  1. Set the system proxy to "localhost:8081"

  2. Open Edge and go to any HTTPS web site

  3. If Titanium is >= 3.1.1099 the site won't open

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions