matthewshirley / pact_dart

Dart DSL for Pact, the de-facto API contract testing tool.
MIT License
19 stars 10 forks source link

Unable to communicate on self-signed certificate #6

Open matthewshirley opened 2 years ago

matthewshirley commented 2 years ago

Issue

It is possible to communicate with the Pact Mock Service over HTTPs when the secure flag is passed. This requires the library to obtain the certificate from the pactffi_get_tls_ca_certificate FFI call. See #5 for an example.

However, there seems to be a common issue with Dart and adding self-signed certificates: