Skip to content

Commit b79c987

Browse files
Update ocsp/responder/nginx-scgi/run.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 04ff1c7 commit b79c987

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • ocsp/responder/nginx-scgi

ocsp/responder/nginx-scgi/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ echo ""
9292
# --- Step 1: Start wolfclu OCSP responder in SCGI mode ---
9393
echo "Starting wolfclu OCSP responder (SCGI on port $SCGI_PORT)..."
9494

95-
WOLFCLU_ARGS="-scgi -port $SCGI_PORT -rsigner $CA_CERT -rkey $CA_KEY -CA $CA_CERT"
95+
set -- -scgi -port "$SCGI_PORT" -rsigner "$CA_CERT" -rkey "$CA_KEY" -CA "$CA_CERT"
9696
if [ -n "$INDEX_FILE" ]; then
97-
WOLFCLU_ARGS="$WOLFCLU_ARGS -index $INDEX_FILE"
97+
set -- "$@" -index "$INDEX_FILE"
9898
fi
9999

100-
wolfssl ocsp $WOLFCLU_ARGS &
100+
wolfssl ocsp "$@" &
101101
WOLFCLU_PID=$!
102102
sleep 1
103103

0 commit comments

Comments
 (0)