keytool -noprompt -dname "CN=, OU=, O=, L=, S=, C=" -genkeypair -alias cert -keyalg RSA -keysize 2048 -sigalg SHA256withRSA -keypass changeit -storepass changeit -keystore /home/john/localhost-rsa.jks -validity 2914016

Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 2,914,016 days
	for: CN=, OU=, O=, L=, ST=, C=
