
What is the name of your State or Province? What is the name of your City or Locality? What is the name of your organizational unit? Re-enter new password: my_secret_password $ "C:\Program Files\Java\jdk1.8.0_202\bin\keytool" -genkey -keystore ".keystore" -alias tomcat -keyalg RSAĮnter keystore password: my_secret_password

example home directory: ~/my_user_name for Linux/Unix or C:\Users\my_user_name for Windows ~10. use same password like in Connector element, "C:\Program Files\Java\jdk1.8.0_202\bin\keytool" -genkey -keystore ".keystore" -alias tomcat -keyalg RSA Notes: go to home directory and execute following command:.Note: official documentation can be found here. find and edit or create new one Connector element that has scheme="https" attribute, e.g.:Ĭonnector element should be nested in Server -> Service -> Connector and keystorePass attribute should be set to own one password.Listener element should be nested directly inside Server element at begining of config file. I need help solving this problem.In this article we would like to show how to enable https in Tomcat 8 Server and use it for development on development.Ĭ:\Program Files\Apache Software Foundation\apache-tomcat-8.0.46\conf I believe this is the fault of the Java but not sure. apache-tomcat-8.5.40]# logsġ 05:32:41.787 INFO .ployDirectory Deployment of web application directory has finished in msġ 05:32:41.788 INFO .ployDirectory Deploying web application directory ġ 05:32:42.047 INFO .ployDirectory Deployment of web application directory has finished in msġ 05:32:42.047 INFO .ployDirectory Deploying web application directory ġ 05:32:42.071 INFO .ployDirectory Deployment of web application directory has finished in msġ 05:32:42.071 INFO .ployDirectory Deploying web application directory ġ 05:32:42.091 INFO .ployDirectory Deployment of web application directory has finished in msġ 05:32:42.105 INFO .start Starting ProtocolHandler ġ 05:32:42.113 INFO .start Starting ProtocolHandler ġ 05:32:42.114 INFO .Catalina.start Server startup in 659 ms I have tried deploying through manager-GUI even that doesn't work. The war file I kept in webapps doesn't deploy at all. I have tried tomcat 7 also both give the same result. Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_80-b15) I am setting up a new server in centos7 with oracle java 7 and already tried java 8 too.
