WireMockConfiguration options = WireMockSpring.options();
options.httpsPort(8082);
options.containerThreads(CONTAINER_THREADS);
options.keystorePath(keyStore.getFile().getCanonicalPath());
options.keystorePassword(keyStorePassword);
options.keystoreType("JKS");
options.trustStorePath(trustStore.getFile().getCanonicalPath());
options.trustStorePassword(trustStorePassword);
options.trustStoreType("JKS");
options.needClientAuth(true);
С помощью этих опций я могу получить доступ к Wirmock как на http://localhost:8080, так и на https://localhost:8082.
Можно ли как-нибудь отключить доступ к http-порту и включить только https?