title: How to get/access Certificate status/information for the browser (IE etc.)
body: <p>I want to install a trusted Root Certificate. Now, I made a batch/exe file which simply install the certificate by clicking it. Now, I want to attach the file with a web page which will automatically download/run the <code>exe/batch</code> and install it. Now, this part is also done by following code (it works as activex object):</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
  
  &lt;!-- saved from url=(0014)about:internet --&gt;
  
  
  &lt;SCRIPT Language="JScript"&gt;
  
  
  
  function fnShellExecuteJ()
  
  {
  
  var objShell = new ActiveXObject("Shell.Application");
  
  objShell.ShellExecute("D:\\New folder\\New folder\\RootInstaller.exe", "", "", "open", 1);
  
  }
  
  &lt;HTML&gt;
  
  &lt;/SCRIPT&gt; 
  
  &lt;BODY&gt;
  
  
  &lt;body onLoad="javascript:fnShellExecuteJ();"&gt; 
  
  &lt;/BODY&gt;
  
  &lt;/HTML&gt;
  </code></pre>
  
  <p>Now, I want to check the certificate is installed or not ? if the root certificate is installed in the "IE>Tools>Internet Option>Content>Certificate>Trusted Root Certificate authorities", then it will not try to open the installer and skip. But, if it is not installed, then it will try to install.</p>
  
  <p>In a word, I want to get the installed certificate status to check and then based on that proceed to next.</p>
  
  <p>Thank You for reading this (my English is horrible). And any suggestion/tips/writing will help this newcomer.Thank You.....</p>