wiremock / wiremock/WireMock.Net-docker

Is there a way to allow HTTPS connections

Open
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
25
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I ran into an issue where I was not able to mock responses when a client make an HTTPS request rather than an HTTP request. Is there a way to configure the standalone Wiremock docker container to support for both HTTP and HTTPS mocking?

This is currently what my docker-compose entry looks like for my Wiremock container.

  users-service-mock:
    container_name: users-service-mock
    image: "sheyenrath/wiremock.net:1.3.3"
    networks:
      - users-https-test
    ports:
      - "80"
    command:
      - "--ReadStaticMappings"
      - "true"
      - "--WireMockLogger"
      - WireMockConsoleLogger
    volumes:
      - type: bind
        source: ./services/http-mocks/users-service-mock
        target: /app/__admin/mappings

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided docker-compose entry and the sheyenrath/wiremock.net:1.3.3 image configuration, focusing on how the container currently exposes HTTP. Determine what configuration or certificate inputs are needed for HTTPS while retaining HTTP, then verify that both protocols can serve mocked responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker
Domain
api, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.