{% extends "base.html" %} {% block title %} - Setup{% endblock %} {% block content %}
Install the CA chain on client machines to trust certificates from this authority.
Run one command on any machine to download and install the CA chain automatically.
curl -sL http://192.168.8.248/setup.sh | sudo bash
iwr http://192.168.8.248/setup.ps1 -UseBasicParsing | iex
sudo cp ca-chain.crt /usr/local/share/ca-certificates/certauth.crt
sudo update-ca-certificates
# System trust store (curl, openssl)
sudo cp ca-chain.crt /etc/pki/ca-trust/source/anchors/certauth.crt
sudo update-ca-trust
# NSS database (Firefox, Thunderbird)
sudo certutil -A -n "CertAuth Root CA" -t "CT,Cu,Tu" -d sql:/etc/pki/nssdb/ -i ca-chain.crt
LibreWolf uses its own NSS database and disables enterprise roots by default. Enable enterprise roots in about:config → set security.enterprise_roots.enabled to true.
# Import root CA to your LibreWolf profile
certutil -A -n "CertAuth Root CA" -t "CT,Cu,Tu" -d ~/.librewolf/<profile>/ -i ca-chain.crt
# Clear SSL state cache if you previously got a cert error
rm ~/.librewolf/<profile>/SiteSecurityServiceState.bin
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca-chain.crt
Double-click ca-chain.crt, then:
1. Click "Install Certificate"
2. Select "Local Machine" → Next
3. Select "Place all certificates in the following store"
4. Browse → "Trusted Root Certification Authorities"
5. OK → Next → Finish
COPY ca-chain.crt /usr/local/share/ca-certificates/certauth.crt
RUN update-ca-certificates