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.
I'm running sublime locally using Orbstack.
While not documented it is possible to set the
BASE_URLenvironment variable when running the sublime-cli.sublime-cli/src/sublime/api.py
Lines 27 to 29 in 8558071
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 usingpipx: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.