Skip to content

Commit b6fa0dd

Browse files
committed
more content on self-signed certificates
1 parent a40f8c4 commit b6fa0dd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/advanced/1_self_host/index.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,23 @@ For more advanced setups, see [Helm Chart](#helm-chart).
687687

688688
## Self-signed certificates
689689

690+
TL;DR:
691+
692+
### Mount CA Certificates in Windmill:
693+
694+
1. Ensure CA certificate is base64 encoded and has .crt extension.
695+
2. Create a directory for CA certificates.
696+
3. Modify docker-compose.yml to mount this directory to /usr/local/share/ca-certificates in read-only mode.
697+
4. Use INIT_SCRIPT in the worker config to run update-ca-certificates in worker containers.
698+
699+
### Establish Deno’s Trust:
700+
701+
Set environment variable DENO_TLS_CA_STORE=system,mozilla in docker-compose.yml for Windmill workers.
702+
703+
### Configure Python (requests & httpx) Trust:
704+
705+
Set REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt & SSL_CERT_FILE with the same value in the worker’s environment variables.
706+
690707
See this [guide](https://www.lfanew.com/posts/windmill-ca-trust/) for using Windmill with self-signed certificates
691708

692709
<!-- Resources -->

0 commit comments

Comments
 (0)