bolletjestrui: 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.
This commit is contained in:
Ruben Hensen committed 2026-10-22 09:13:02 +02:00
1 parent 746cd1283e
commit 767facc5e2
1 file changed
+13
@@ -69,6 +69,13 @@ spec:
optional: true
- name: VAPID_SUBJECT
value: mailto:ruben.hensen@protonmail.com
# 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
resources:
requests:
memory: "128Mi"
@@ -91,8 +98,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: bolletjestrui-data
- name: patched-ca-bundle
configMap:
name: patched-ca-bundle