title: Makecert.exe error
body: <p>I am trying to use Makecert.exe to create a signing certificate that I can use with our internal VS.NET applications, to be deployed using <em>Clickonce</em> on our local network</p>
  <p>I have been following the MSDN guide <a href="https://msdn.microsoft.com/en-us/library/ff369721.aspx" rel="noreferrer">MSDN: Certificate Expiration in ClickOnce Deployment</a></p>
  <p>so I tried the below:</p>
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio 12.0&gt;Makecert -sv DMTeam.pvk 
  -n &quot;CN=DMTeam&quot; DMTeam.cer -b 03/04/2015 -e 12/31/2020
  </code></pre>
  <p>in order to have a certificate for our applications</p>
  <p>When I run the above command using the VS command prompt, I get the below error:</p>
  <blockquote>
  <p>Error: Unable to create file for the subject ('DMTeam.pvk')</p>
  <p>Error: Can't create the key of the subject ('DMTeam.pvk')</p>
  <p>Failed</p>
  </blockquote>
  <p>so what am doing wrong?</p>