diff --git a/doc/editor_extensions/visual_studio_code/troubleshooting.md b/doc/editor_extensions/visual_studio_code/troubleshooting.md index e41aaafb52e7211d02c204ec2dc6510114297640..c5db44f9fe755555342657feb94cf3053c166d05 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 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. + +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: