Coder.comC
Coder.com4y ago
43 replies
tfishler

Download coder-agent from a host with untrusted CA certificate

Hello!
I'm using the example k8s template for running inside a k8s pod.
When the pod spins up it tries to download using curl the coder-agent itself (directly from the running server). The server is host with a selfsigned ssl certificate, thus, curl command fails.
curl -fsSL --compressed https://coder.example/bin/coder-linux-amd64 -o coder                                                                                                                                                                                                     │
│ curl: (60) SSL certificate problem: unable to get local issuer certificate                                                                                                                                                                                                                                      │

Where is this installation script? I could not find it in terraform files nor in https://code-server.dev/install.sh
How is this being pulled and how can I modify it so I could append my own trusted CA cert?

Thanks.
Was this page helpful?