update install script

This commit is contained in:
shahondin1624
2026-05-26 14:57:06 +02:00
parent ff060c3e10
commit 6a70995a98
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@
!/dark-mechanicus/
!/llama.cpp/
!/scripts/
!/session-handoff/
!/shared/
!/tests/
!/themes/
+3 -1
View File
@@ -266,10 +266,12 @@ fi
if [[ $SKIP_VERIFY -eq 0 ]] && want certs; then
echo; echo "==> Verifying mTLS reachability"
# Server cert is LE-issued (publicly trusted) — rely on the system CA
# bundle, matching ai-server/{stream,admin}.ts which omit `ca:`. The local
# root-ca.pem is kept around only to satisfy loadCerts() in config.ts.
if curl -sS --max-time 5 \
--cert "$PI_DIR/certs/client.pem" \
--key "$PI_DIR/certs/client-key.pem" \
--cacert "$PI_DIR/certs/root-ca.pem" \
"$AI_SERVER_URL/health" | grep -q '"ok"'; then
echo " ✓ mTLS handshake + /health OK"
else