如何取得小提琴核心证书?
我尝试使用Fiddler4证书并将其导出到桌面,并将其安装到安卓模拟器中。
但我总是以这个证书错误而告终。我正在使用fiddler核心的android仿真器来刺激我的应用程序测试。我只是做一个小的演示,看看它是否有效。但是,显然,从fiddler导出的证书似乎并不有效。


发布于 2015-09-21 17:49:48
这将给出字节数:
internal static byte[] getRootCertBytes()
{
X509Certificate2 oRoot = Fiddler.CertMaker.GetRootCertificate();
if (null == oRoot)
{
return null;
}
return oRoot.Export(X509ContentType.Cert);
}您可以使用File.WriteAllBytes()将它们存储到磁盘。
https://stackoverflow.com/questions/32686552
复制相似问题