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

How to run under HTTPS? #58

Open
staff0rd opened this issue May 25, 2023 · 1 comment
Open

How to run under HTTPS? #58

staff0rd opened this issue May 25, 2023 · 1 comment

Comments

@staff0rd
Copy link

#27 references running the server in HTTPS:

It can run in Docker and use HTTPS.

How can I configure that? There appears to be no reference to HTTPS or certs in the cli options

@rholshausen
Copy link
Contributor

rholshausen commented Jun 13, 2023

It can run in Docker and use HTTPS.

It can access a Pact Broker using HTTPS, and has an option --insecure-tls to disable host and certificate validation when the Pact Broker is using self-signed certs.

If you want the stub server to use HTTPS, you can run nginx in front of it as a reverse proxy.

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

2 participants