When I installed Tomcat 8 on my Ubuntu 15.04 I used the following command to create the user "tomcat":
sudo adduser \
--system \
--shell /bin/bash \
--gecos 'Tomcat Java Servlet and JSP engine' \
--group \
--disabled-password \
--home /home/tomcat \
tomcat
As a consequence, I don't have a password. Now I need to generate a CSR in order to install the SSL certificate on Tomcat 8. For that I am using this tutorial.
While running command keytool -genkey -alias tomcat -keyalg RSA -keystore <your_keystore_filename>
it requests a password for user 'tomcat'. I tried hitting ENTER but it doesn't work.
What should I do?