-
Notifications
You must be signed in to change notification settings - Fork 24
How to create a non expiring certificate in Visual Studio
Anthony edited this page Jun 22, 2017
·
8 revisions
Start | All Programs | Microsoft Visual Studio 2012 | Visual Studio Tools | Developer Command Prompt for VS2012 | right click and "Run as administrator"
Right click and paste the following commands
MakeCert /n "CN=Anthony Duguid" /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /e "01/16/2174" /sv AnthonyDuguid.pvk AnthonyDuguid.cer
pvk2pfx -pvk AnthonyDuguid.pvk -spc AnthonyDuguid.cer -pfx AnthonyDuguid.pfx –f
*Note the date format is the US standard MM/DD/YYYY
In the Visual Studio project properties select "Signing" click on "Select from File…"
Navigate to C:\Windows\System32 and select the certificate file (*.pfx)