Error detecting file while trying to run pvk2pfx.exe file

I am trying to create a simple client certificate and for this I follow the links below ...

How to create a client certificate

I installed the SDK on the machine and I successfully executed two commands.

makecert.exe -r -n "CN=My Personal CA" -pe -sv MyPersonalCA.pvk -a sha1 -len 2048 -b 01/21/2010 -e 01/21/2016 -cy authority MyPersonalCA.cer makecert.exe -iv MyPersonalCA.pvk -ic MyPersonalCA.cer -n "CN=John Doe" -pe -sv JohnDoe.pvk -a sha1 -len 2048 -b 01/21/2010 -e 01/21/2016 -sky exchange JohnDoe.cer -eku 1.3.6.1.5.5.7.3.2 

After successfully executing these two commands, when I try to run the third command, I get the error message โ€œFile not foundโ€ (error code = 0x80070002).

Third team

 pvk2pfx.exe -pvk JohnDoe.pvk -spc JohnDoe.cer -pfx JohnDoe.pfx -po password 

What is the problem?

+7
source share

All Articles