Knowledgebase: PaperCut > Errors
Modulus Size Must Range from 512 to 1024 and Be a Multiple of 64
Last modified on 12 August 2020 11:09 PM

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.