Hi, is it possible to let wiremock reload the provided keystore when the content changed? In a test, the used certificate is updated - but yet I have found no solution to tell wiremock to use the new certificate loaded with
public WireMockRule wireMock = new WireMockRule(wireMockConfig().dynamicHttpsPort().keystorePath("./selfsigned-localhost.jks")
02/07/2023, 10:04 AM
Hi @Andreas Weber at the moment it’s necessary to restart the server to reload the keystore unfortunately. IIRC this is a limitation of Jetty, which WireMock is built on.
02/07/2023, 10:07 AM
Oh thats perfect, I didnt even think about that possibility 🙂 Thanks!