From 2739734bdd2d8f8cd09d8c644dcfb0301aac6519 Mon Sep 17 00:00:00 2001 From: Anton Nguyen Date: Wed, 23 Jun 2021 12:03:55 -0400 Subject: [PATCH] Utilize the absolute path to the ca.pem file On the `Configure the Kubernetes API Server` step, we're moving the file to the `/var/lib/kubernetes/` directory. Now when we try to verify the Kubernetes version info utilizing the cert, we'll receive the following error: ``` curl --cacert ca.pem https://${KUBERNETES_PUBLIC_ADDRESS}:6443/version curl: (77) error setting certificate verify locations: CAfile: ca.pem CApath: /etc/ssl/certs ``` --- docs/08-bootstrapping-kubernetes-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/08-bootstrapping-kubernetes-controllers.md b/docs/08-bootstrapping-kubernetes-controllers.md index ede6ce0..55e062d 100644 --- a/docs/08-bootstrapping-kubernetes-controllers.md +++ b/docs/08-bootstrapping-kubernetes-controllers.md @@ -404,7 +404,7 @@ KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-har Make a HTTP request for the Kubernetes version info: ``` -curl --cacert ca.pem https://${KUBERNETES_PUBLIC_ADDRESS}:6443/version +curl --cacert /var/lib/kubernetes/ca.pem https://${KUBERNETES_PUBLIC_ADDRESS}:6443/version ``` > output