ReferenceCoreInstalling Certificates

Installing certificates

Deploying a Synnax Core to production

This page is a guide on how to install CA certificates on client machines to enable communication with a Synnax Core using a self-signed certificate. Select your operating system below.

Linux

To start off, you’ll need to pull the CA certificate from the Core. If you have ssh access to the Core, you can use the scp command to pull the certificate:

scp user@core:/path/to/ca.crt /tmp/synnax-ca.crt

On Debian and Ubuntu, copy the certificate into the local CA directory and rebuild the trust bundle:

sudo cp /tmp/synnax-ca.crt /usr/local/share/ca-certificates/synnax-ca.crt
sudo update-ca-certificates

On RHEL and Fedora, use the CA trust anchors directory instead:

sudo cp /tmp/synnax-ca.crt /etc/pki/ca-trust/source/anchors/synnax-ca.crt
sudo update-ca-trust

On a machine where you can’t change the trust store, point the Driver at the certificate file instead. The Driver service and synnax-driver login read /etc/synnax/driver.env, so add:

GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/tmp/synnax-ca.crt

Add the line before you run synnax-driver login, because login checks the connection to the Core.