makecert -r -pe -n "CN=Test" -b 01/01/2010 -e 01/01/2020 -sky exchange Test.cer -sv Test.pvk pvk2pfx.exe -pvk Test.pvk -spc Test.cer -pfx Test.pfxWhen executing the commands above you will be asked for some information like password etc. After you are finished the file Test.pfx includes a self-signed certificate with the a private key.
Creating a self-signed certificate with private key
Needed to make a self-signed certificate with a private key for a project I working on.
After some research I found that the combination of makecert and pvk2pfx did the trick.
Use the following commands in Visual Studio Command Prompt
0 kommentarer:
Post a Comment