From 345055e3e62e2f1e78df7a91f28c7dd04fc08c6f Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 22 Oct 2026 09:13:02 +0200 Subject: [PATCH] serpbear: use a CA bundle without the compromised eMudhra roots Mount patched-ca-bundle (see ca-bundle/) over /etc/ssl/certs so it stops trusting the compromised eMudhra intermediates (https://emudhra.we-have-a-problem.com). Node uses its built-in roots, so also switch it to OpenSSL's store with --use-openssl-ca. --- serpbear/serpbear-deployment.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/serpbear/serpbear-deployment.yaml b/serpbear/serpbear-deployment.yaml index e6a0861..2b07378 100644 --- a/serpbear/serpbear-deployment.yaml +++ b/serpbear/serpbear-deployment.yaml @@ -44,6 +44,13 @@ spec: value: https://serpbear.rubenhensen.nl - name: TZ value: Europe/Amsterdam + # Node trusts its built-in roots, which still include the ones + # above the compromised eMudhra intermediates. Use + # patched-ca-bundle through OpenSSL instead until Node ships a fix. + - name: NODE_OPTIONS + value: --use-openssl-ca + - name: SSL_CERT_FILE + value: /etc/ssl/certs/ca-certificates.crt image: towfiqi/serpbear:3.1.0 name: serpbear ports: @@ -52,8 +59,14 @@ spec: volumeMounts: - mountPath: /app/data name: data + - mountPath: /etc/ssl/certs + name: patched-ca-bundle + readOnly: true restartPolicy: Always volumes: - name: data persistentVolumeClaim: claimName: data + - name: patched-ca-bundle + configMap: + name: patched-ca-bundle