Skip to content

Server security

Michael Yingbull edited this page Sep 28, 2026 · 6 revisions

Server security

Home / Technical documentation / Running CARLOS

The server holds clinical information, so security work should be part of ordinary operation rather than an occasional emergency. Start with the exposed entry points, named administrator access, updates, certificate status, and backups. Keep a safe route for support staff to investigate a problem without sharing an account.

Protect the entry points

The package puts nginx and a web application firewall in front of a private application service. Permit only the intended HTTPS access and administrator SSH path. Choose a trusted certificate for staff browsers; sudo carlos-ctl cert status shows the served certificate and cert acme <email> can request one when public DNS and port 80 are available. Check a real browser connection after changing TLS.

Give each administrator an individual account. Keep /etc/carlos-emr/ credentials, backup keys, and initial administrator material restricted. After first sign-in, create named application accounts, disable the seeded administrator account, and remove the one-time credentials file. Apply OS and package security updates in a planned window, with a backup and a service check afterward.

SCREENSHOT NEEDED — OP-SECURITY: Capture synthetic carlos-ctl cert status and waf status output, plus browser certificate details for the site name. Do not include private keys or real administrative users.

For a blocked page, inspect sudo carlos-ctl waf tail before changing policy. For a suspected disclosure or compromise, preserve logs and follow the clinic's incident process; do not erase evidence by repeatedly reinstalling the system. The installed operator guide describes the package's access model and site decisions.

Review changes with the clinic when they affect access or availability. A stricter setting that blocks a needed workflow still needs a plan for the people using it. Record exceptions, their owner, and when they will be revisited; do not leave temporary access in place indefinitely.

Related pages

Accounts, roles, and access · Privacy and audit

CARLOS documentation

All topics · Get help

Using CARLOS

Start here · Clinic workflows

Getting started and everyday reference
Office staff
Clinical staff and doctors
Clinic managers and administrators

Technical documentation

Technical overview · Reference

Running CARLOS

Install and configure
Maintain and troubleshoot

Developing CARLOS

Code, interfaces, and tests
Contribute and maintain releases

For everyone

Write and maintain the documentation

Clone this wiki locally