Skip to content

Instantly share code, notes, and snippets.

@hurelhuyag
Created May 27, 2020 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hurelhuyag/86debb0e7c187e352dd4b310a9d70f23 to your computer and use it in GitHub Desktop.
Save hurelhuyag/86debb0e7c187e352dd4b310a9d70f23 to your computer and use it in GitHub Desktop.
Web developing with SSL enabled tomcat server
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<version>1.5</version>
<configuration>
<workingDirectory>${user.home}</workingDirectory>
<alias>tomcat</alias>
<keyalg>RSA</keyalg>
<dname>CN=SS, OU=Demo, O=SS, L=UB, ST=SS, C=MN</dname>
<storepass>123456</storepass>
<keypass>123456</keypass>
<keystore>${user.home}/.keystore</keystore>
</configuration>
</plugin>
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" keystoreFile="${user.home}/.keystore" keystorePass="123456" clientAuth="false" sslProtocol="TLS" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment