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

Running against a self-hosted version with custom certificate #39

Open
Techbrunch opened this issue Sep 25, 2024 · 0 comments
Open

Running against a self-hosted version with custom certificate #39

Techbrunch opened this issue Sep 25, 2024 · 0 comments

Comments

@Techbrunch
Copy link

I'm running sublime locally using Orbstack.

While not documented it is possible to set the BASE_URL environment variable when running the sublime-cli.

_NAME = "Sublime"
_BASE_URL = os.environ.get('BASE_URL')
_BASE_URL = _BASE_URL if _BASE_URL else "https://analyzer.sublime.security"

My problem is that requests won't accept the certificate used by Orbstack.

As a workaround I have created a fork of sublime-cli with verify=False (Techbrunch@69e5cb3) and installed it using pipx:

pipx install git+https://github.com/Techbrunch/sublime-cli.git

I'm not sure what would be the correct way to fix this issue. I guess I could also not use HTTPS for my containers.

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

1 participant