我在同一目录中有一个 certificate.cer 文件(如果较新则复制),其中包含 RSA 密钥,但当我尝试时:
string certificateFile = Environment.CurrentDirectory + "\\Certificate.cer";
X509Certificate2 x509 = new X509Certificate2(X509Certificate.CreateFromCertFile(certificateFile));
我也一样
“找不到请求的对象”
错误。我怎么不能得到错误?