From a44e9f27d245bdf1311a561308c371b264e72319 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 22 Dec 2024 19:25:00 +0300 Subject: [PATCH] docs: mention `AUTH_TOKEN` env var --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 81d9af61..20c0bf9b 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,13 @@ Creating a PKCS#12 certificate file using OpenSSL: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem ``` + +Before running the server: + +```bash +export TLS_PFX_PATH=/path/to/identity.pfx +export TLS_PASSWORD="your_identity_passphrase" +export AUTH_TOKEN="your_auth_token" +``` + +How you handle environment is up to you, Systemd makes it somewhat easy.