You may receive this error message when using the keytool argument of
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.
Keywords: SSL key generation