Notifications, PDF Generation, and File API Fail After Upgrade: Certificate Trust Mismatch
Symptoms
The following failures occur after upgrading to 26.3.3 or later when the root CA was renewed and existing certificates were not re-issued:
- The notifications panel displays a system error in the Turbine UI.
- Requests to /notifications/api/... return HTTP 502.
- The /notifications/socket WebSocket never connects.
- Attachment uploads through file-api and PDF generation through gotenberg are likely impacted.
- The swimlane-web log contains entries matching SSL certificate verify error with (21:unable to verify the first certificate) for /notifications/api and /notifications/socket.
Affected versions: Introduced by the upgrade to 26.3.3. The underlying defect was present before 26.3.3. Fixed in 26.4.3.
Root Cause
The root CA (root-ca-cert) was renewed around 2026-08-02 and received a new key.
The 26.3.3 upgrade re-issued approximately 40 certificates, including notifications-api-cert, signing them with the new root CA key.
Four certificates were not re-issued and still reference the old root CA key: swimlane-web-cert, file-api-cert, gotenberg-cert, and mongo-cert.
The nginx process inside swimlane-web validates upstream connections using the ca.crt embedded in the swimlane-web-cert secret, which contains the old root. The notifications-api-cert, signed by the new root, fails that verification check.
The fix applied in 26.4.3 sets rotationPolicy: Never on the root CA to prevent the key from changing on renewal. Clusters already affected by the key mismatch still require the workaround below.
Solution
Re-issue the three stale certificates from the current root CA, then restart the affected deployments.
Step 1: Back up the current root CA certificate
Export the current root CA certificate to a local file for use during validation.
kubectl -n default get secret root-ca-cert -o jsonpath='{.data.tls\.crt}' | base64 -d > /tmp/root-ca.crtExpected result: /tmp/root-ca.crt is created and contains a valid PEM-encoded certificate.
Step 2: Back up the stale certificate secrets
Export each affected secret to a YAML file before making any changes.
for s in swimlane-web-cert file-api-cert gotenberg-cert; do
kubectl -n default get secret $s -o yaml > /root/$s-before.yaml && chmod 600 /root/$s-before.yaml
doneExpected result: Three files are created under /root/ with permissions 600. Confirm all three files exist and are non-empty before continuing.
Step 3: Delete the stale secrets to trigger re-issuance
Warning: This step deletes Kubernetes secrets and causes brief downtime for swimlane-web, file-api, and gotenberg. Confirm the backups from Step 2: Back up the stale certificate secrets exist and are readable before proceeding.
Delete each stale secret and wait for cert-manager to re-issue it before moving to the next.
for s in swimlane-web-cert file-api-cert gotenberg-cert; do
kubectl -n default delete secret $s
until kubectl -n default get secret $s >/dev/null 2>&1; do sleep 2; done
doneExpected result: Each secret is deleted and automatically recreated by cert-manager, signed by the current root CA.
Step 4: Restart the affected deployments
Warning: This step restarts running deployments and causes brief service interruption. Confirm the re-issued secrets from Step 3: Delete the stale secrets to trigger re-issuance are present before proceeding.
Restart swimlane-web, file-api, and gotenberg so they load the newly issued certificates.
kubectl -n default rollout restart deploy/swimlane-web deploy/file-api deploy/gotenbergExpected result: All three deployments complete a rolling restart and reach Ready status.
Validate the solution
Verify each re-issued certificate chains correctly to the current root CA.
for s in swimlane-web-cert file-api-cert gotenberg-cert; do
kubectl -n default get secret $s -o jsonpath='{.data.tls\.crt}' | base64 -d > /tmp/$s.crt
openssl verify -CAfile /tmp/root-ca.crt /tmp/$s.crt
doneExpected result: Each certificate prints OK.
Confirm no new SSL verification errors appear in the swimlane-web logs.
kubectl -n default logs deploy/swimlane-web --since=10m | grep -c "SSL certificate verify error"Expected result: Output is 0.
Confirm in the Turbine UI that the notifications panel loads without error, and that attachment upload and PDF export function correctly.
Step 5: Clean up the backup files
Warning: The backup files in /root/ contain private keys. Deleting them is permanent. Continue only after every validation check printed OK or 0 and the notifications panel loads without error.
Confirm that all three backup files exist before deleting them.
rm /root/swimlane-web-cert-before.yaml /root/file-api-cert-before.yaml /root/gotenberg-cert-before.yamlExpected result: The three backup files are removed.