Skip to content

Instantly share code, notes, and snippets.

@LockTar
LockTar / CreateCARoot.cmd
Last active January 9, 2017 07:37
Create self signed certificates with makecert. Run the command in the Visual Studio Developer command prompt for direct access of makecert. Call the CreateCARoot.cmd first without any parameters. This will create a CARoot certificate. Call CreateSslServerCert.cmd with the name of the certificate als parameter. Like this CreateSslServerCert.cmd S…
makecert.exe ^
-n "CN=CARoot" ^
-r ^
-pe ^
-a sha512 ^
-len 4096 ^
-cy authority ^
-sv CARoot.pvk ^
CARoot.cer