问题
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)?
回答1:
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.
回答2:
A description of Makecert options can be found at MSDN, but I didn't see an explicit one for setting the key length.
来源:https://stackoverflow.com/questions/463657/makecert-is-it-possible-to-change-the-key-size