Create a Non-Expiring Test Certificate (pfx) for Windows Store Apps

With the following command line you can create a non-expiring self-signed test certificate that can be used in Windows Store apps.

Start the Developer Command Prompt

MakeCert /n "CN=YourCompany" /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /e "12/31/2100" /sv YourCompany.pvk YourCompany.cer
pvk2pfx -pvk YourCompany.pvk -spc YourCompany.cer -pfx YourCompany.pfx -f
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: