WindmillWWindmill
Powered by
PankajMahatoP
Windmill•8mo ago•
2 replies
PankajMahato

[Typescript BUN]: Getting SSL certificate error even though I have added the CA as volume mount.

Logged into the container and saw that the certificate is getting added to the truststore and when running curl commands it is working.
But when executing the script from Windmill it is failing.

Below is the docker-compose.yml
windmill_worker:
image: ${WM_IMAGE}
pull_policy: always
deploy:
replicas: 3
resources:
limits:
cpus: "1"
memory: 2048M
# for GB, use syntax '2Gi'
restart: unless-stopped
environment:
- DATABASE_URL=${DATABASE_URL}
- MODE=worker
- WORKER_GROUP=default
- INIT_SCRIPT=update-ca-certificates
- DENO_TLS_CA_STORE=system,mozilla
- DENO_CERT=/usr/local/share/ca-certificates/api-cerebro-prod-cernerasp-com.crt
depends_on:
db:
condition: service_healthy
# to mount the worker folder to debug, KEEP_JOB_DIR=true and mount /tmp/windmill
volumes:
# mount the docker socket to allow to run docker containers from within the workers
- /var/run/docker.sock:/var/run/docker.sock
- worker_dependency_cache:/tmp/windmill/cache
- worker_logs:/tmp/windmill/logs
- /var/windmill/compose/certs:/usr/local/share/ca-certificates:ro
logging: *default-logging
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

UNKNOWN_CERTIFICATE_VERIFICATION_ERROR
PankajMahatoPPankajMahato / help
5mo ago
Windmill Workflows Code as Docker Volume
HishamHHisham / help
2y ago
[Typescript BUN]: Listing all objects within S3 Bucket
ChesongCChesong / help
8mo ago
Adding internal root CA to server mode as well
sleshwaveSsleshwave / help
2y ago