Repository: wiremock/wiremock (language: java)

Issue:
HTTPS docs missing details of key manager password
Configuring with my own keystore and truststore I ran into some issues with loading keys following the details at http://wiremock.org/docs/https/

I found the answer via searching and the commit for #807.

Could the HTTPS docs page be updated to reference

1. The `keyManagerPassword` property
2. The fact that stores can be loaded from the classpath (#928)


Discussion / hints:
I see the source for that page is in [docs-v2/_docs/https.md](https://github.com/wiremock/wiremock/blob/master/docs-v2/_docs/https.md). What changes would you make there to properly document this?
Even a rough draft would help if you have the time, since you know more than me at this point. :)

Fix patch:
diff --git a/docs-v2/_docs/https.md b/docs-v2/_docs/https.md
index b750020ddd..4e1c2cb807 100644
--- a/docs-v2/_docs/https.md
+++ b/docs-v2/_docs/https.md
@@ -33,8 +33,9 @@ password:
 @Rule
 public WireMockRule wireMockRule = new WireMockRule(wireMockConfig()
     .httpsPort(8443)
-    .keystorePath("/path/to/keystore.jks")
-    .keystorePassword("verysecret")); // Defaults to "password" if omitted
+    .keystorePath("/path/to/keystore.jks") // Either a path to a file or a resource on the classpath
+    .keystorePassword("verysecret") // The password used to access the keystore. Defaults to "password" if omitted
+    .keyManagerPassword("verysecret")); // The password used to access individual keys in the keystore. Defaults to "password" if omitted
 ```
 
 The keystore type defaults to JKS, but this can be changed if you're using another keystore format e.g. Bouncycastle's BKS with Android:
@@ -60,7 +61,7 @@ client auth:
 public WireMockRule wireMockRule = new WireMockRule(wireMockConfig()
     .httpsPort(8443)
     .needClientAuth(true)
-    .trustStorePath("/path/to/truststore.jks")
+    .trustStorePath("/path/to/truststore.jks") // Either a path to a file or a resource on the classpath
     .trustStorePassword("mostsecret")); // Defaults to "password" if omitted
 ```
 
diff --git a/docs-v2/_docs/running-standalone.md b/docs-v2/_docs/running-standalone.md
index 90be14cc44..08795303de 100644
--- a/docs-v2/_docs/running-standalone.md
+++ b/docs-v2/_docs/running-standalone.md
@@ -36,7 +36,7 @@ Note: When you specify this parameter, WireMock will still, additionally, bind t
 `--bind-address`: The IP address the WireMock server should serve from. Binds to all local network adapters if unspecified.
 
 `--https-keystore`: Path to a keystore file containing an SSL
-certificate to use with HTTPS. The keystore must have a password of
+certificate to use with HTTPS. Can be a path to a file or a resource on the classpath. The keystore must have a password of
 "password". This option will only work if `--https-port` is specified.
 If this option isn't used WireMock will default to its own self-signed
 certificate.
@@ -53,7 +53,7 @@ sets the keystore password value. The key manager password can be set with the (
 
 `--https-truststore`: Path to a keystore file containing client public
 certificates, proxy target public certificates & private keys to use when
-authenticate with a proxy target that require client authentication. See
+authenticate with a proxy target that require client authentication. Can be a path to a file or a resource on the classpath. See
 [HTTPS configuration](/docs/configuration/#https-configuration)
 and [Running as a browser proxy](/docs/proxying#running-as-a-browser-proxy) for
 details.


Test patch: