Skip to content

[Bug] Issue with setting up Temporal helm package with certificates #644

@valerian-martin-tbc

Description

@valerian-martin-tbc

Hi,

Im having an issue setting up the Temporal Helm chart with SSL certificates

Currently I have this setup for ssl(certificates have been generated by the tls-simple option from https://github.com/temporalio/samples-server/tree/main/tls):

    tls:
      enabled: true
      internode:
        server:
          certFile: /cert-dir/client.pem
          keyFile: /cert-dir/client.key
          requireClientAuth: false
          clientCaFiles:
            - /cert-dir/ca.cert
        client:
          serverName: temporal-internode.example.com
          rootCaFiles:
            - /cert-dir/ca.cert
      frontend:
        server:
          enabled: true
          certFile: /cert-dir/cluster.pem
          keyFile: /cert-dir/cluster.key
          requireClientAuth: false
          clientCaFiles:
            - /cert-dir/ca.cert
        client:
          serverName: temporal.example.com
          rootCaFiles:
            - /cert-dir/ca.cert

Everything is getting up except for the create-temporal-namespace part from temporal-schema Job(and I suspect its because it tries to connect to the temporal frontend port 7233 and since there are no certificates, it fails). Same is for the web part - getting a 500 issue due to it not connecting to the frontend port 7233.

Also if I run:
tctl --address temporal.example.com:7233 --tls_cert_path client.pem --tls_key_path client.key --tls_ca_path ca.cert namespace list
Im getting:
transport: authentication handshake failed: tls: first record does not look like a TLS handshake

Note: Certificates are in place for the worker,frontend and history part(cannot find options for the web part where to set them up) from a mounted volume. Pretty sure this either has to be documented better and the part with the create-temporal-namespace part from temporal-schema Job needs to also somehow to be able to use these certificates - from what I see from the chart it doesn't make any difference between a setup using TLS and one that doesn't(by the way - without TLS it works fine).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions