Commit 06eba9c4 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette

Add configuration to support SSL on mvn tomcat:run

Add configuration to support SSL on mvn tomcat:run.

To use it:
- Generate a key using the following command:
  $ keytool -genkey -alias tomcat -keyalg RSA -keystore [CAMINHO_CHAVE]

- Edit the file with Key file path and password
- Uncomment the lines
- Run "mvn tomcat:run"
parent a2641a51
......@@ -633,6 +633,14 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<!--
<configuration>
<path>/${project.name}</path>
<httpsPort>8443</httpsPort>
<keystoreFile>[CAMINHO_ARQUIVO_KEYSTORE]</keystoreFile>
<keystorePass>[SENHA]</keystorePass>
</configuration>
-->
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment