Advertisement
Armandobs14

Defining HTTPS tomcat

Dec 9th, 2014
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cd $CATALINA_HOME/conf
  2. $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore keystore.jks
  3.  
  4. -------------------------------
  5.  
  6. <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
  7.            maxThreads="150" scheme="https" secure="true"
  8.            clientAuth="false" sslProtocol="TLS"
  9.            keystoreFile="./conf/keystore.jks"
  10.            keystorePass="mypassword"
  11. />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement