Modulus Size Must Range from 512 to 1024 and Be a Multiple of 64

KB Home   |   Modulus Size Must Range from 512 to 1024 and Be a Multiple of 64

You may receive this error message when using the keytool argument of -keysize

keytool error: java.lang.IllegalArgumentException: Modulus size must range from 512 to 1024 and be a multiple of 64

By default the keytool that is provided with PaperCut will generate DSA based certificates which are limited to 512 to 1024 in length.

You can use -keyalg to change to another algorithm such as RSA which supports longer keys.


Categories: Errors,


Keywords: SSL key generation

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on July 09, 2014, at 02:28 AM
Printable View   |   Article History   |   Edit Article