Skip to content

cli: fix certificate command errors when --insecure flag is set#790

Merged
daniel-weisse merged 1 commit intomasterfrom
dw/cli-fix-cert-cmds
Jan 15, 2025
Merged

cli: fix certificate command errors when --insecure flag is set#790
daniel-weisse merged 1 commit intomasterfrom
dw/cli-fix-cert-cmds

Conversation

@daniel-weisse
Copy link
Copy Markdown
Member

Proposed changes

The marblerun certificate commands check the remote coordinator's root certificate against the certificate cached on the local system. In case the --insecure flag is set, the cached certificate is not loaded, resulting in a comparison of the remote cert against nil.

  • Don't compare the certificates in case the --insecure flag is set.

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
@daniel-weisse daniel-weisse added the bug fix This change fixes a user facing bug from the previous release label Jan 15, 2025
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 15, 2025

Deploy Preview for marblerun-docs canceled.

Name Link
🔨 Latest commit 22476b7
🔍 Latest deploy log https://app.netlify.com/sites/marblerun-docs/deploys/6787a081c3b3e700089e830e

@daniel-weisse daniel-weisse merged commit 00443fd into master Jan 15, 2025
@daniel-weisse daniel-weisse deleted the dw/cli-fix-cert-cmds branch January 15, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix This change fixes a user facing bug from the previous release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants