From e9221b6d598eff5d72b6ab49c6126eedf21c02ad Mon Sep 17 00:00:00 2001 From: Steve Cawood Date: Thu, 9 Oct 2025 12:15:35 -0700 Subject: [PATCH 1/4] Add a workaround for the Let's Encrypt expired certificate error --- .../visual_studio_code/troubleshooting.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/editor_extensions/visual_studio_code/troubleshooting.md b/doc/editor_extensions/visual_studio_code/troubleshooting.md index e41aaafb52e721..567bba44db8ec4 100644 --- a/doc/editor_extensions/visual_studio_code/troubleshooting.md +++ b/doc/editor_extensions/visual_studio_code/troubleshooting.md @@ -67,6 +67,18 @@ Prerequisites: | `gitlab.certKey`| null | Unsupported. See [epic 6244](https://gitlab.com/groups/gitlab-org/-/epics/6244). If GitLab Self-Managed requires a custom certificate or key pair, set this option to point to your certificate key file. See `gitlab.cert`. | | `gitlab.ignoreCertificateErrors` | false | Unsupported. See [epic 6244](https://gitlab.com/groups/gitlab-org/-/epics/6244). If you use GitLab Self-Managed with no SSL certificate, or have certificate issues that prevent you from using the extension, set this option to `true` to ignore certificate errors. | +## Expired SSL certificate + +In some cases, certificates from Let's Encrypt are falsely classified as expired. This can result in the +error `API request failed - Error: certificate has expired`. If you encounter this issue, you can diasble +VS Code support for system certificates. + +To disable system certificates: + +1. In VS Code, on the top bar, go to **Code** > **Settings** > **Settings**. +1. Under the **User** settings tab, select **Application** > **Proxy**. +1. Disable the settings for **Proxy Strict SSL** and **System Certificates**. + ## HTTPS project cloning works but SSH cloning fails This problem happens in VS Code when your SSH URL host or path is different from your HTTPS path. The GitLab Workflow extension uses: -- GitLab From 91f982db1918d0301b00d225f12faf26613716fe Mon Sep 17 00:00:00 2001 From: Steve Cawood Date: Thu, 9 Oct 2025 12:22:26 -0700 Subject: [PATCH 2/4] Apply 1 suggestion(s) to 1 file(s) --- doc/editor_extensions/visual_studio_code/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/editor_extensions/visual_studio_code/troubleshooting.md b/doc/editor_extensions/visual_studio_code/troubleshooting.md index 567bba44db8ec4..2ce268feabf2e0 100644 --- a/doc/editor_extensions/visual_studio_code/troubleshooting.md +++ b/doc/editor_extensions/visual_studio_code/troubleshooting.md @@ -70,7 +70,7 @@ Prerequisites: ## Expired SSL certificate In some cases, certificates from Let's Encrypt are falsely classified as expired. This can result in the -error `API request failed - Error: certificate has expired`. If you encounter this issue, you can diasble +error `API request failed - Error: certificate has expired`. If you encounter this issue, you can disable VS Code support for system certificates. To disable system certificates: -- GitLab From 3db1951cf0d1d150d02eaec09502d68f90eb4208 Mon Sep 17 00:00:00 2001 From: Steve Cawood Date: Thu, 9 Oct 2025 15:10:50 -0700 Subject: [PATCH 3/4] Removing third-party reference --- doc/editor_extensions/visual_studio_code/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/editor_extensions/visual_studio_code/troubleshooting.md b/doc/editor_extensions/visual_studio_code/troubleshooting.md index 2ce268feabf2e0..225f4d8ea19044 100644 --- a/doc/editor_extensions/visual_studio_code/troubleshooting.md +++ b/doc/editor_extensions/visual_studio_code/troubleshooting.md @@ -69,7 +69,7 @@ Prerequisites: ## Expired SSL certificate -In some cases, certificates from Let's Encrypt are falsely classified as expired. This can result in the +In some cases, certificates can be falsely classified as expired. This can result in the error `API request failed - Error: certificate has expired`. If you encounter this issue, you can disable VS Code support for system certificates. -- GitLab From 29dfd7cc076bd346f1a759811a20bb360f9f5ab9 Mon Sep 17 00:00:00 2001 From: Suzanne Selhorn Date: Wed, 22 Oct 2025 09:25:52 -0400 Subject: [PATCH 4/4] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Erran Carey --- doc/editor_extensions/visual_studio_code/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/editor_extensions/visual_studio_code/troubleshooting.md b/doc/editor_extensions/visual_studio_code/troubleshooting.md index 225f4d8ea19044..c5db44f9fe7555 100644 --- a/doc/editor_extensions/visual_studio_code/troubleshooting.md +++ b/doc/editor_extensions/visual_studio_code/troubleshooting.md @@ -69,7 +69,7 @@ Prerequisites: ## Expired SSL certificate -In some cases, certificates can be falsely classified as expired. This can result in the +In some cases, certificates can be falsely classified as expired. This can result in the error `API request failed - Error: certificate has expired`. If you encounter this issue, you can disable VS Code support for system certificates. -- GitLab