titanium-web-proxy icon indicating copy to clipboard operation
titanium-web-proxy copied to clipboard

How to generate certificate file for android

Open thgiang opened this issue 4 years ago • 1 comments

Hello, I want to capture some https requests from my mobile application (Android) so I need to export Certificate file then import it into my phone.

I tried File.WriteAllBytes("ca.cer", proxyServer.CertificateManager.RootCertificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType.Cert)); then drag and drop the ca.cer file into LDPlayer (Android version 5.1.1), it show Cannot read...

So, my question is how to export a valid certificate?

thgiang avatar Jul 03 '21 16:07 thgiang

Did you try another formats, like Pkcs12 or Pfx?

honfika avatar Jan 23 '22 23:01 honfika