Skip to content

Connection Error when working with pact mock service enabling ssl #114

@CaferlopAgileContent

Description

@CaferlopAgileContent

Hello!

Trying to setup a PoC for a Swift project, enabling ssl in the pact-mock-service lead us to the error message shown in the below image:
Captura de pantalla 2021-01-27 a las 22 12 04

The server is launched using:
pact-mock-service start --ssl --pact-specification-version 2.0.0 --log "${SRCROOT}/tmp/pact-ssl.log" --pact-dir "${SRCROOT}/tmp/pacts-ssl" -p 1234

The PactVerificationService is instantiated allowing insecure certificates:
Captura de pantalla 2021-01-27 a las 22 19 42

Yet it seems it is not to accept the self signed certificate:

Captura de pantalla 2021-01-27 a las 22 19 24

Have you guys faced this kind of issue?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions