Jetty 9.4, Jersey 2.7 and Guice 4.2.0 starter kit with SSL support and guice-hk2-bridge.
Clone && Run with maven by executing
mvn clean install exec:java
Go to http://localhost:8080/msg and you will see some running message.
- Put your JKS files (cert and trusted) in /resources/certificates folder, you can see my self-singed certificates in the certificates folder for your understanding
- Update the path to those certificates in /utility/SSLContextHandler.java class
- Update the password to those certificates in /resources/config.properties
- Done
- Fork
- Code