Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a solution for for fixing self-signed certificate errors in VSCode #2599

Closed
klojewski2 opened this issue Mar 15, 2024 · 1 comment
Closed

Comments

@klojewski2
Copy link

When I use VSCode with a url for the RuleSet file, I get:
Unable to read ruleset at ... failed, reason: self signed certificate in certificate chain
While most extensions will work in VSCode by pointing to the OS certificate store (using the win-ca or other method), this extension uses some other method for storing trusted root certificates.

We use Netskope, which generates a custom certificate for the ruleset file url. But how to do we get Spectral to trust the root cert for this cusom CA?

Can you please document a method for adding a root certificate to the Spectral root certificate store? Or fix Spectral to use the same certificate store used by VSCode?

Until then, we can not use Spectral in our environment as designe.d

@mnaumanali94
Copy link
Contributor

Shouldn't the issue be here: https://github.com/stoplightio/vscode-spectral

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants