tomakehurst/wiremock — pull request #199 by T1ngj13 (2014-12-03 03:42:53+00:00)
Title: Full Keystore, Truststore and ClientAuth support

As of 1.52, wiremock only supports specifying https port with a keystore, and keystore password is always assumed to be "password". This is quite limited. In many scenario, we want to specify more advanced parameters, for example:

1. As a user, I would like to use my existing keystore, which has password other than 'password'
2. As a user, I would like to start a stub server that only accepts request from my testing target that has specific client certificate (i.e., mutual SSL support

This pull request essentially exposes more native Jetty connector parameters through the `HttpsSettings` class, from which we will be able to specify the following parameters:

* HTTPS port
* Keystore Path and password
* Truststore Path and password
* Whether client auth is required

To maintain backward compatibility, default keystore password is still kept as 'password' if it is not specified.