Skip to content

MicrocksClient with GlobalClientOptions is not able to handle insucure TLS request #180

@Harsh4902

Description

@Harsh4902

Describe the bug

  • We have created a new microcksClient which supports globalClientOpts to provide global and persistent flags across the CLI.
  • This client is not able to handle insecure TLS request and throws error.

Expected behavior

  • For insecure TLS we have to use --inscure-tls and it will allow connecting with microcks instace with self generated TLS certificate, and will allow performing an operation.

Actual behavior

  • Currently it's giving error:
    2025/08/05 21:53:15 Get "https://microcks.127.0.0.1.nip.io/api/keycloak/config": tls: failed to verify certificate: x509: certificate signed by unknown authority

How to Reproduce?

No response

Microcks version or git rev

No response

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions