.. _ca-linux: ============================== Trusting Your Root CA on Linux ============================== .. caution:: If you cannot connect following this guide, you may be using an application (such as Firefox) that is installed in a jailed environment, such as an appimage, flatpak, or snap. Please try an alternate install method if so. .. tabs:: .. group-tab:: Debian/Ubuntu These instructions will work for most Debian-based Linux distributions, such as Debian, Linux Mint, PopOS, Ubuntu, etc. #. Ensure you have :ref:`downloaded your Root CA ` #. Perform the following commands in the Terminal: .. code-block:: bash sudo apt update sudo apt install -y ca-certificates p11-kit #. Move into the folder where you downloaded your Start9 server's Root CA (usually ``~/Downloads``), and run the following commands to add your Start9 server's CA certificate to the OS trust store: .. caution:: BE CERTAIN to replace ``adjective-noun`` with your server's unique hostname in the 3rd and 4th commands below! .. code-block:: bash cd ~/Downloads sudo mkdir -p /usr/share/ca-certificates/start9 sudo cp "adjective-noun.crt" /usr/share/ca-certificates/start9/ sudo bash -c "echo 'start9/adjective-noun.crt' >> /etc/ca-certificates.conf" sudo update-ca-certificates In the output it should say ``1 added`` if it was successful. For most applications, you will now be able to securely connect via ``https``. #. If using Firefox, complete :ref:`this final step ` .. group-tab:: Arch/Garuda #. Ensure you have :ref:`downloaded your Root CA ` #. From the folder you have downloaded your Start9 server's Root CA, run the following commands. Take care to replace `adjective-noun` with your server's unique adjective-noun combination in the command below. If you have changed the certificate's filename, be sure to change it here. .. code-block:: bash sudo pacman -S ca-certificates sudo cp "adjective-noun.crt" /etc/ca-certificates/trust-source/anchors/ sudo update-ca-trust Despite no output from the last command, you can test your app right away. .. group-tab:: CentOS/Fedora #. Ensure you have :ref:`downloaded your Root CA ` #. In `/etc/systemd/resolved.conf`, ensure you have ``MulticastDNS=Yes`` #. Restart systemd-resolved .. code-block:: bash sudo systemctl restart systemd-resolved #. From the folder you have downloaded your Start9 server's Root CA, run the following commands. Take care to replace `adjective-noun`` with your server's unique adjective-noun combination in the command below. If you have changed the certificate's filename, be sure to change it here. .. code-block:: bash sudo yum install ca-certificates sudo cp "adjective-noun.crt" /etc/pki/ca-trust/source/anchors/ sudo update-ca-trust