添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
i want to intall a .cer file in both the Trusted publisher and the Trusted Root Certification Authorities certificate store.i found some material in msdn. i call "CertOpenStore" to open a specific store location and call "CertAddCertificateContextToStore" to install .cer file into store.to intall into the Trusted Root Certification Authorities certificate store,it works well.but it always intall .cer file into Trusted Enterprise store...my code is CertOpenStore(CERT_STORE_PROV_SYSTEM,0,0,CERT_STORE_OPEN_EXISTING_FLAG | CERT_SYSTEM_STORE_LOCAL_MACHINE, L"trust");
help me plz,thx advanced.
  • Read the question carefully.
  • Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  • If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  • Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid.
  •