Created
May 27, 2020 01:54
-
-
Save hurelhuyag/86debb0e7c187e352dd4b310a9d70f23 to your computer and use it in GitHub Desktop.
Web developing with SSL enabled tomcat server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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