@@ -192,18 +192,39 @@ code-server
192192If code-server reports content security policy errors ensure that the
193193marketplace is running behind an https URL.
194194
195+ ### Custom certificate authority
196+
197+ If you are using a custom certificate authority or a self-signed certificate and
198+ get errors like "unable to verify the first certificate", you may need to set
199+ the [ NODE_EXTRA_CA_CERTS] ( https://nodejs.org/api/cli.html#node_extra_ca_certsfile )
200+ environment variable for code-server to find your certificates bundle.
201+
202+ Make sure your bundle contains the full certificate chain. This can be necessary
203+ because Node does not read system certificates by default and while VS Code has
204+ code for reading them, it appears not to work or be enabled for the web version.
205+
206+ Some so-called "web" extensions (like ` vscodevim.vim ` ) are installed in the
207+ browser, and extension searches are also performed from the browser, so your
208+ certificate bundle may also need to be installed on the client machine in
209+ addition to the remote machine.
210+
195211## Usage in VS Code & VSCodium
196212
197- Although not officially supported, you can follow the examples below to start using code-marketplace with VS Code and VSCodium:
213+ Although not officially supported, you can follow the examples below to start
214+ using code-marketplace with VS Code and VSCodium:
198215
199216- [ VS Code] ( https://github.com/eclipse/openvsx/wiki/Using-Open-VSX-in-VS-Code )
217+
218+ Extension signing may have to be disabled in VS Code.
219+
200220- [ VSCodium] ( https://github.com/VSCodium/vscodium/blob/master/docs/index.md#howto-switch-marketplace )
221+
222+ ```
223+ export VSCODE_GALLERY_SERVICE_URL="https://<domain>/api
224+ export VSCODE_GALLERY_ITEM_URL="https://<domain>/item"
225+ # Or set a product.json file in `~/.config/VSCodium/product.json`
226+ codium
201227 ```
202- export VSCODE_GALLERY_SERVICE_URL="https://<domain>/api
203- export VSCODE_GALLERY_ITEM_URL="https://<domain>/item"
204- # Or set a product.json file in `~/.config/VSCodium/product.json`
205- codium
206- ```
207228
208229## Missing features
209230
0 commit comments