Views:

To generate a 2048-bit RSA certificate, use this command:

keytool -genkey -alias tomcat -keyalg RSA –keysize 2048 -dname cn=dsmserver

For more information about keytool, refer to this Oracle link: Keytool - Key and Certificate Management Tool.