Skip to content

HoverflyConfiguration.tlsVerificationDisabled not being honored #2

@ctoomey

Description

@ctoomey

I'm trying to hit my local grpc server running SSL with a self-signed certificate.

Since disabling TLS verification is not supported by the existing GrpcConfig class, I subclassed it and overrode build() so that I can set tlsVerificationDisabled in the created HoverflyConfiguration. I've run it in the debugger and verified that in Hoverfly.start(), the HoverflyConfiguration returned by build() has tlsVerificationDisabled = true.

But I'm still getting this error from hoverfly-grpc when I make a proxied grpc request: [Thread-1] INFO hoverfly-grpc - 2021/07/13 19:14:13 [001] WARN: Cannot handshake client localhost:9443 remote error: tls: unknown certificate.

Can you confirm this is a bug in the included binary, or what other info can I provide?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions