Search code examples
certificatesizekeymakecert

MakeCert - is it possible to change the key size?


When I generate a certificate using MakeCert.exe, I want to change the key size from 1024 to 2048.

Is this possible? Or do I need to setup a certificate authority (CA)?


Solution

  • Here the following syntax is used:

    makecert -pe -ss MY -$ individual -n "CN=your name here" -len 2048 -r
    

    Sorry I cannot test it, since I don't have Makecert.