Install and first sign-in
By the end you can
- Check that a host and network meet the requirements before installing
- Install with the one-line installer, or with a bundle on a server with no internet
- Sign in for the first time and secure the admin account
- Confirm the stack is healthy
What you need first
The host. A Linux x86_64 server: 2 vCPU, 4 GB of memory and 20 GB of disk is the minimum; 4 vCPU, 8 GB and a 50 GB SSD is recommended. Ubuntu 22.04 or 24.04, Debian 12 or 13, and RHEL, Rocky Linux or AlmaLinux 9 are supported. You need Docker Engine 24 or later with the Compose v2 plugin. The installer installs Docker for you if it is missing.
The network. Give the host a static IP address or a stable DNS name, because your network devices will point at it. These ports must be free: 443/tcp, 80/tcp, 1812 and 1813/udp, 2083/tcp and 8444/tcp. A few loopback ports must also be free: 5432, 6380, 3000, 8443 and 50051. The installer checks all of them before it changes anything.
Install
On a fresh server, one command does everything: it checks the server, installs Docker if needed, downloads the release, verifies its signature, installs it and activates the license.
curl -fsSL https://get.authcha.cloud | sudo bash -s -- --license AUTHCHA-… --hostname radius.example.comTo evaluate first, start a 30-day trial. A code is emailed to you.
curl -fsSL https://get.authcha.cloud | sudo bash -s -- --trial you@company.com --hostname radius.example.comAlways pass --hostname. Passkeys, links in emails and the posture agent all use it.
Check the installer before you run it
The installer is a readable shell script, and it is signed. You can verify the signature before running it.
curl -fsSLO https://get.authcha.cloud/install.sh
curl -fsSLO https://get.authcha.cloud/install.sh.sig
curl -fsSLO https://get.authcha.cloud/release-public.pem
openssl pkeyutl -verify -pubin -inkey release-public.pem -rawin -in install.sh -sigfile install.sh.sigThe release it downloads is checked the same way, by SHA-256 and by an Ed25519 signature. Nothing is installed if either check fails.
A server with no internet
Download three files from your account team, or from the license server: authcha-X.Y.Z.tar.gz, authcha-X.Y.Z.tar.gz.sig and install.sh. Copy them to the server, then install from the bundle. Docker Engine 24 or later must already be installed.
sudo bash install.sh --bundle authcha-X.Y.Z.tar.gz --license-file license.json --hostname radius.example.comThe license is then activated offline. The Licensing guide shows how.
What the installer creates
It verifies every file in the bundle, loads the container images, creates /opt/authcha, writes .env and otp.env with a fresh random value for every secret, and starts the stack. .env and otp.env contain every bootstrap secret for your installation and are readable by root only. Keep a copy somewhere safe. The installer never overwrites them.
/opt/authcha/
.env, otp.env settings and secrets (mode 600)
docker-compose.yml
config/ FreeRADIUS policy, PostgreSQL, TLS proxy
data/postgres the database
backups/ scheduled backups and audit archives
scripts/ maintenance jobs run from /etc/cron.d/authcha
integrations/ pfSense agent and helpersFirst sign-in
The installer ends by printing the console address and the admin password. The password is shown once on the first install, and also saved in /opt/authcha/run/initial-admin-password. Every install generates a random password; none starts with a default one.
- Open
https://<your-host>/. Accept the browser's certificate warning, because the console starts with a self-signed certificate. - Choose Use a password instead and sign in as
admin. - Open Profile, then Change password and set a strong one.
- Under Two-factor authentication, choose Begin enrollment, scan the QR code with an authenticator app and confirm with a six-digit code.
- Under Profile → Passkeys, add a passkey, then sign in with it from now on.
- Open Settings → License and check the edition and expiry.
If you lose the password, run sudo authcha reset-admin-password.
Check that it is healthy
cd /opt/authcha
docker compose ps
curl -sk https://127.0.0.1/api/healthEvery service should be running, and db, redis and otp_service should be healthy. The health call should answer {"status":"ok","db_ok":true}. In the console, System shows the same.
Open the right ports
Restrict UDP 1812 and 1813 to the subnets your network devices send RADIUS from, and TCP 443 to your management network. The shared secrets are the only protection on the RADIUS ports.
LabHands-on
This lab needs your own server or a test VM. On the demo you can still do steps 6 and 7.
- Check the host has Docker 24 or later (
docker --version) and that nothing is listening on 443, 80 or 1812:ss -lntu | grep -E ':(443|80|1812) '. - Run the installer with
--checkfirst: downloadinstall.shas shown above and runsudo bash install.sh --check. - Install with a trial, or with your license, using
--hostname. - Sign in as
admin, change the password and turn on two-factor. - Run
docker compose psand the health call above. Confirm everything is healthy. - Open Settings on the demo and find License. Note the edition and expiry. (On the demo, sign in as
demo-viewer, passwordAuthcha-View-2026.) - Open System and match each running service to the table in the first module.
Check yourselfQuiz
Cheat sheetKeep this
- One command:
curl -fsSL https://get.authcha.cloud | sudo bash -s -- --license AUTHCHA-… --hostname FQDN - Trial:
--trial you@company.com. Preflight only:--check. Offline:--bundle. - Secrets live in
/opt/authcha/.envandotp.env(mode 600). Back them up. - First sign-in:
admin, then change password, turn on two-factor, add a passkey. - Lost password:
sudo authcha reset-admin-password. - Health:
docker compose psandcurl -sk https://127.0.0.1/api/health. - Full detail: Installation.