From fe7258b2db8c901457019dcedc0c8a07d5debc3b Mon Sep 17 00:00:00 2001 From: Gerard Forns Date: Tue, 14 Nov 2023 18:58:54 +0100 Subject: [PATCH] Update Konnect curl request in renew-certificates.md - needed to add double-quotes to properly expand $CERT envvar (curl was giving an error) - Included the Authorization header in the Konnect request --- .../gateway-manager/data-plane-nodes/renew-certificates.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/konnect/gateway-manager/data-plane-nodes/renew-certificates.md b/app/konnect/gateway-manager/data-plane-nodes/renew-certificates.md index 66d9ee5cf239..cce63171419e 100644 --- a/app/konnect/gateway-manager/data-plane-nodes/renew-certificates.md +++ b/app/konnect/gateway-manager/data-plane-nodes/renew-certificates.md @@ -75,7 +75,8 @@ You can generate a certificate locally and use the [pin data plane client certif 1. `POST` the certificate to your control plane using the Konnect API: ```bash - curl https://{region}.api.konghq.com/v2/control-planes/{controlPlaneId}/dp-client-certificates --json '{"cert":"'$CERT'"}' + curl https://{region}.api.konghq.com/v2/control-planes/{controlPlaneId}/dp-client-certificates --json '{"cert":"'"$CERT"'"}' \ + --header "Authorization: Bearer ${KONNECT_TOKEN}" ``` {% endnavtab %} {% endnavtabs %}