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: Troubleshooting Articles, Security and Privacy


Keywords: SSL key generation

Comments