title: Why does creating my self signing certificate fail?
body: <p>I am trying to generate a self signing certificate but am unable to accomplish it. I am using this command to create a self signing certificate authority:</p>
  
  <pre><code>makecert -n "CN=PowerShell Local Certificate Root" -a sha1 -eku 1.3.6.1.5.5.7.3.3 -r -sv root.pvk root.cer -ss Root -sr localMachine
  </code></pre>
  
  <p>Which by all accounts works, and I can view the new entry under the Trusted Root Certification Authorities. </p>
  
  <p>Next I use the following command to create a signing certificate:</p>
  
  <pre><code>makecert -pe -n "CN=PowerShell User" -ss MY -a sha1 -eku 1.3.6.1.5.5.7.3.3 -iv root.pvk -ic root1.cer
  </code></pre>
  
  <p>But the command fails with:</p>
  
  <pre><code>Error: Can't load the issuer certificate ('root1.cer')
  Failed
  </code></pre>
  
  <p>I was of the impression that the <code>-ic</code> switch would create the <strong>root1.cer</strong> file, but the error seems to indicate that it can't load it? Where am I going wrong with this?</p>