GR8B8
GR8B8
CCoder.com
Created by GR8B8 on 3/20/2025 in #help
Setting up CA certificate for the container
Updating here in case it helps someone going through something similar, the "unable to get local issuer certificate" as the error itself suggests was a problem with how our intermediate certificate was generated. However, using a self-signed certificate to validate it still caused the "could not resolve hostname" error when trying to open Coder on VS Code Desktop extension. It was necessary, in addition to including the self-signed certificate in the trust store of our machine, which had already been done, to add the environment variable NODE_EXTRA_CA_CERTS on the machine pointing to the path of the certificate.
18 replies
CCoder.com
Created by GR8B8 on 3/20/2025 in #help
Setting up CA certificate for the container
It looks like a problem with our certificate bundle as the error "unable to get local issuer certificate" suggests. When I change our intermediary certificate for another one this error stops but some people gets a "could not resolve host name --user-workspace-name" error when VS Code opens after pressing the VS Code on Desktop button.
18 replies
CCoder.com
Created by GR8B8 on 3/20/2025 in #help
Setting up CA certificate for the container
The ca-bundle.pem I'm using on both the CODER_TLS_CERT_FILE and on the /usr/local/share/ca-certificates on the container image is in the following format: -----BEGIN CERTIFICATE----- coder cert -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- our intermediary ca -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- our root ca -----END CERTIFICATE-----
18 replies
CCoder.com
Created by GR8B8 on 3/20/2025 in #help
Setting up CA certificate for the container
No description
18 replies
CCoder.com
Created by GR8B8 on 3/20/2025 in #help
Setting up CA certificate for the container
Hi Phorcys, thanks for your time! I've been tied up with other demands and haven't had time to follow through on this today, but I'll definitely take a look at setting up the docker image. Also, thanks for providing me with an example!
18 replies