From 9474c4472daf304efa43b094feba8ea01d0e58a2 Mon Sep 17 00:00:00 2001 From: Puneet Joshi Date: Sun, 15 Dec 2024 16:05:00 +0000 Subject: [PATCH] GITBOOK-1215: No subject --- .../deployment-guide/ssl-certificates-using-letsencrypt.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/deployment/deployment-guide/ssl-certificates-using-letsencrypt.md b/deployment/deployment-guide/ssl-certificates-using-letsencrypt.md index 5617fe76..45c1af70 100644 --- a/deployment/deployment-guide/ssl-certificates-using-letsencrypt.md +++ b/deployment/deployment-guide/ssl-certificates-using-letsencrypt.md @@ -46,11 +46,8 @@ sudo certbot certonly --agree-tos --manual --preferred-challenges=dns -d *.openg ``` * The above command generates a new pair of certificates. The DNS challenge needs to be performed again, as prompted. -* Run the following to upload new certs back to Kubernetes Cluster. Adjust the certs path in the below command. +* Restart Nginx ```bash -kubectl delete secret tls-openg2p-ingress -n istio-system -kubectl create secret tls tls-openg2p-ingress -n istio-system \ - --cert=/etc/letsencrypt/live/openg2p.sandbox.net-renewed/fullchain.pem \ - --key=/etc/letsencrypt/live/openg2p.sandbox.net-renewed/privkey.pem +sudo systemctl restart nginx ```