HttpWebRequest使用证书请求
//是否使用证书
if (isUseCert)
{
string path = HttpContext.Current.Request.PhysicalApplicationPath;
X509Certificate2 cert = new X509Certificate2(path);
request.ClientCertificates.Add(cert);
Log.Debug("req", "PostXml used cert");
}