Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to allow HTTPS connections #35

Open
D-H opened this issue Dec 1, 2021 · 0 comments
Open

Is there a way to allow HTTPS connections #35

D-H opened this issue Dec 1, 2021 · 0 comments

Comments

@D-H
Copy link

D-H commented Dec 1, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant