titanium-web-proxy
titanium-web-proxy copied to clipboard
How to generate certificate file for android
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?
Did you try another formats, like Pkcs12 or Pfx?