Skip to content

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

@Techbrunch

Description

@Techbrunch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions