"makecert.exe -sv" - Create Private Key File
How to create my private key and store it in a file using "makecert.exe"?
If you want to create a private key and save it in a file instead of the private key container, you can use the "makecert.exe -sv keyfile" option as shown in this tutorial.
1. Run the following command to create a new certificate and save the private key and certificate into two files:
C:\fyicenter> "\Program Files\Microsoft Visual Studio 8\sdk\v2.0\bin\makecert.exe" -n "CN=Mike Dews" -sv mike.pvk mike.crt
2. Enter "FYIcenter" as the password to protect the private key file,
when you see the password prompt dialog box.
3. List the output files:
C:\fyicenter>dir mike.* 07/1/2012 08:59 PM 445 mike.crt 07/1/2012 08:58 PM 636 mike.pvk
2016-06-27, 15297👍, 3💬
Certificate Summary: Subject: AlphaSSL CA - SHA256 - G2 Issuer: GlobalSign Root CA Expiration: 2024-...
What is getacert.com? Can I use it to generate a PKI certificate? Is it free? getaCert is a free ser...
Can I continue to use the Web site, even if it has the "Your connection is not secure" error? Normal...
How to get a list of all certificates with more details in "Personal" certificate store using "certm...
How to generate a pair of RSA Private Key and Public Key? To help you to generate a pair of RSA Priv...