Update ocsp/responder/nginx-scgi/run.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/570/head
Juliusz Sosinowicz 2026-04-10 14:17:01 +02:00 committed by GitHub
parent 04ff1c7ddd
commit b79c987789
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -92,12 +92,12 @@ echo ""
# --- Step 1: Start wolfclu OCSP responder in SCGI mode ---
echo "Starting wolfclu OCSP responder (SCGI on port $SCGI_PORT)..."
WOLFCLU_ARGS="-scgi -port $SCGI_PORT -rsigner $CA_CERT -rkey $CA_KEY -CA $CA_CERT"
set -- -scgi -port "$SCGI_PORT" -rsigner "$CA_CERT" -rkey "$CA_KEY" -CA "$CA_CERT"
if [ -n "$INDEX_FILE" ]; then
WOLFCLU_ARGS="$WOLFCLU_ARGS -index $INDEX_FILE"
set -- "$@" -index "$INDEX_FILE"
fi
wolfssl ocsp $WOLFCLU_ARGS &
wolfssl ocsp "$@" &
WOLFCLU_PID=$!
sleep 1