Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)?

like image 868
Rohan West Avatar asked Jan 21 '09 00:01

Rohan West


People also ask

Where is MakeCert certificate made?

The MakeCert tool creates an X. 509 certificate, signed by the test root key or other specified key, that binds your name to the public part of the key pair. The certificate is saved to a file, a system certificate store, or both.


2 Answers

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.

like image 122
RSabet Avatar answered Oct 14 '22 23:10

RSabet


A description of Makecert options can be found at MSDN, but I didn't see an explicit one for setting the key length.

like image 1
ISW Avatar answered Oct 14 '22 23:10

ISW