Hi I am running zeebe cluster in kubernetes. Everything was working fine with ZEEBE_GATEWAY_SECURITY_ENABLED disabled
I added parameters to gateway manifest
- name: ZEEBE_GATEWAY_SECURITY_ENABLED value: "true" - name: ZEEBE_GATEWAY_SECURITY_CERTIFICATECHAINPATH value: "/usr/local/zeebe/cert/cert.pem" - name: ZEEBE_GATEWAY_SECURITY_PRIVATEKEYPATH value: "/usr/local/zeebe/cert/key.key"
I added config map with certificate and key, which I mounted. Gateway is running, I connect to the pod and verify that key and cert are there. But when I am trying to connect to gateway via zbctl I am getting this error
Error: rpc error: code = Unavailable desc = Bad Gateway: HTTP status code 502; transport: received the unexpected content-type “text/html”
I am using
zbctl --certPath cert.pem status --address zeebe-gateway.url:443
Any tips what can cause this problem ? When I disabled security it is working