whishper: 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). whishper also gets --use-openssl-ca for Node, and both point requests at the bundle instead of certifi.
This commit is contained in:
Ruben Hensen committed 2026-10-22 09:13:02 +02:00
1 parent 767facc5e2
commit de7ca770a0
2 files changed
+27

No files matched your search

+12
View File
@@ -45,7 +45,16 @@ spec:
name: translate-claim0
- mountPath: /home/libretranslate/.local/cache
name: translate-claim1
- mountPath: /etc/ssl/certs
name: patched-ca-bundle
readOnly: true
env:
# Trust store without the compromised eMudhra intermediates, see
# ca-bundle/. requests would otherwise use certifi.
- name: SSL_CERT_FILE
value: /etc/ssl/certs/ca-certificates.crt
- name: REQUESTS_CA_BUNDLE
value: /etc/ssl/certs/ca-certificates.crt
- name: DB_PASS
valueFrom:
configMapKeyRef:
@@ -77,6 +86,9 @@ spec:
name: env
restartPolicy: Always
volumes:
- name: patched-ca-bundle
configMap:
name: patched-ca-bundle
- name: translate-claim0
persistentVolumeClaim:
claimName: translate-claim0
+15
View File
@@ -61,6 +61,15 @@ spec:
name: env
- name: WHISPER_MODELS_DIR
value: /app/models
# Trust store without the compromised eMudhra intermediates, see
# ca-bundle/. Node needs --use-openssl-ca to stop using its
# built-in roots; requests would otherwise use certifi.
- name: NODE_OPTIONS
value: --use-openssl-ca
- name: SSL_CERT_FILE
value: /etc/ssl/certs/ca-certificates.crt
- name: REQUESTS_CA_BUNDLE
value: /etc/ssl/certs/ca-certificates.crt
image: pluja/whishper:latest
name: whishper
ports:
@@ -71,8 +80,14 @@ spec:
name: whishper-claim0
- mountPath: /var/log/whishper
name: whishper-claim1
- mountPath: /etc/ssl/certs
name: patched-ca-bundle
readOnly: true
restartPolicy: Always
volumes:
- name: patched-ca-bundle
configMap:
name: patched-ca-bundle
- name: whishper-claim0
persistentVolumeClaim:
claimName: whishper-claim0