keytool -genkey -keyalg RSA -keystore test.key -storepass kspassword -keypass kpassword -validity 1825 -dname "cn=localhost, ou=IT, o=Mr Smith, c=US"