--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi, (This question is after making lots of attempts over reading dropwiz manual, experimenting with example proj, reading mailinglists & googling.)
1) Generated a server certificate (genrsa -des3 key) & imported it to my jks keystore. Places my .jks file in project.
2) Configured my yml as below
http:
port: 8080
adminPort: 8081
connectorType: nonblocking+ssl
ssl:
keyStore: ./keystore.jks
keyStorePassword: ******
keyStoreType: JKS
3) Server starts clean with the following message
INFO [2013-09-09 06:57:40,939] com.yammer.dropwizard.cli.ServerCommand: Starting LoginService
INFO [2013-09-09 06:57:40,941] org.eclipse.jetty.server.Server: jetty-8.1.8.v20121106
INFO [2013-09-09 06:57:41,038] com.sun.jersey.server.impl.application.WebApplicationImpl: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM'
INFO [2013-09-09 06:57:41,102] com.yammer.dropwizard.config.Environment:
GET /login (com.myproject.loginspike.LoginResource)
POST /authenticate (com.myproject.loginspike.LoginResource)
INFO [2013-09-09 06:57:41,102] com.yammer.dropwizard.config.Environment: tasks =
POST /tasks/gc (com.yammer.dropwizard.tasks.GarbageCollectionTask)
INFO [2013-09-09 06:57:41,520] org.eclipse.jetty.util.ssl.SslContextFactory: Enabled Protocols [SSLv3, TLSv1] of [SSLv2Hello, SSLv3, TLSv1]
INFO [2013-09-09 06:57:41,539] org.eclipse.jetty.server.AbstractConnector: Started InstrumentedSslSelectChannelConne...@0.0.0.0:8080
INFO [2013-09-09 06:57:41,541] org.eclipse.jetty.server.AbstractConnector: Started SocketC...@0.0.0.0:8081