codahale/dropwizard — pull request #184 by christophercurrie (2012-10-05 16:25:24+00:00)
Title: SSL improvements to allow Windows key stores.

This patch allows dropwizard to be configured to use Windows certificate stores accessed by the `SunMSCAPI` provider introduced in Java 6. The `KeyStore` has to be loaded manually, as Jetty's `SslContextFactory` doesn't properly load the `KeyStore` just based on type.

Also, in a development environment the Windows certificate store will often contain many private keys, and it's necessary to let Jetty know which one to use. This patch adds configuration for the `certAlias` parameter of Jetty's `SslContextFactory`.