justcoding121 / titanium-web-proxy

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

Do I prompt me to install the certificate in IOS? #797

Open bbhxwl opened 4 years ago

bbhxwl commented 4 years ago

The project I used to do can normally block HTTPS, but I started this project again today. It seems that I can't intercept HTTPS. I think the root certificate will expire in 2024. Why? I used to generate the certificate, and then saved it. Every time I download the certificate generated in advance ca.cer Was it a year ago ca.cer something the matter?

bbhxwl commented 4 years ago

I have no problem testing PC, is it the latest IOS problem?

bbhxwl commented 4 years ago

Is anyone here? Do I have a certificate installed in IOS or can't intercept HTTPS?

bbhxwl commented 4 years ago
        proxyServer.CertificateManager.RootCertificate = new X509Certificate2(basePath1 + @"rootCert.pfx", string.Empty, X509KeyStorageFlags.Exportable);

         File.WriteAllBytes("ca.cer", proxyServer.CertificateManager.RootCertificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType.Cert));
honfika commented 4 years ago

You should install the certificate to IOS to intercept HTTPS.

bbhxwl commented 4 years ago

You should install the certificate to IOS to intercept HTTPS.

I installed it, and I succeeded in the past. Now I can't. I don't know why?

bbhxwl commented 4 years ago

You should install the certificate to IOS to intercept HTTPS.

I'm fixed proxyServer.CertificateManager.RootCertificate But I don't know why IOS can't be intercepted after installation.