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

V3 make VerifierV3 to accept self signed SSL certificates #561

Closed
1 of 2 tasks
individual-it opened this issue Dec 29, 2020 · 3 comments
Closed
1 of 2 tasks

V3 make VerifierV3 to accept self signed SSL certificates #561

individual-it opened this issue Dec 29, 2020 · 3 comments

Comments

@individual-it
Copy link
Contributor

Issue Classification

  • Feature request
  • Bug report

Feature Request

currently its not possible to run VerifierV3(opts).verifyProvider() on a provider that uses a self-signed URL

Request Failed - Invalid response: error sending request for url (https://localhost:9200/ocs/v1.php/cloud/capabilities?format=json): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1915: (self signed certificate)

It would be very useful if there would be an option like validateSSL: false to make it possible to use self-signed URLs, alternatively having the possibility to import a certificate would also work, but more complex to setup e.g. in CI

@mefellows
Copy link
Member

See pact-foundation/pact-reference#84.

WIP.

@individual-it
Copy link
Contributor Author

this seems to be fixed in beta.25
self signed certificates can be used with disableSSLVerification: true in the VerifierV3Options
closing?

@mefellows
Copy link
Member

Yep, thanks - closing!

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