Windows 8 VHD creation

September 22, 2011 at 11:02 AMalex

I've used the Creating Bootable Virtual Hard Disks tutorial with the "To apply a Windows image to a VHD by using the Install-WindowsImage.ps1 script" option which gave me my .vhd in less then 15 minutes without even leaving windows :D

Just had to run a "bcdboot V:\Windows" to add the entry

Posted in: Development

Tags:

How to generate certificates for all purposes

September 7, 2011 at 4:14 PMalex

Format is: server certificate, client certificate


1.3.6.1.5.5.7.3.1 - id_kp_serverAuth
1.3.6.1.5.5.7.3.2 - id_kp_clientAuth
1.3.6.1.5.5.7.3.3 - id_kp_codeSigning
1.3.6.1.5.5.7.3.4 - id_kp_emailProtection
1.3.6.1.5.5.7.3.5 - id-kp-ipsecEndSystem
1.3.6.1.5.5.7.3.6 - id-kp-ipsecTunnel
1.3.6.1.5.5.7.3.7 - id-kp-ipsecUser
1.3.6.1.5.5.7.3.8 - id_kp_timeStamping
1.3.6.1.5.5.7.3.9 - OCSPSigning

1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2,1.3.6.1.5.5.7.3.3,1.3.6.1.5.5.7.3.4,1.3.6.1.5.5.7.3.

Posted in: Development

Tags:

How to use makecert.exe to create a self-signed test certificate that can be used with .NET

September 6, 2011 at 9:50 AMalex

Problem: Special options must be specified with makecert.exe, to create a self-signed certificate that can be used with .NET.

Solution: The following command can be used to create and import a self-signed SSL test certificate: makecert -r -pe -n "CN=www.yourserver.com" -b 01/01/2000 -e 01/01/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12

Posted in: Development

Tags: