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

Add --tls-skip-verify for install command #2095

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

aleksmaus
Copy link
Member

This change allows to skip cert validation for "install" command.

Currently when trying to install the package into serverless dev environment user get an error:

ERROR request failed error="Get \"https://security-b5e579.kb.us-east-1.aws.dev.elastic.cloud/api/status\": tls: failed to verify certificate: x509: certificate signed by unknown authority" method=GET url=https://security-b5e579.kb.us-east-1.aws.dev.elastic.cloud/api/status
Error: could not create kibana client: failed to get Kibana version: could not reach status endpoint: could not send request to Kibana API: Get "https://security-b5e579.kb.us-east-1.aws.dev.elastic.cloud/api/status": tls: failed to verify certificate: x509: certificate signed by unknown authority

Example of the command with the flag:

$ elastic-package install --tls-skip-verify --zip /Users/bob/elastic/integrations/build/packages/okta-2.12.0.zip

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

Copy link
Contributor

@taylor-swanson taylor-swanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM, but I'll defer to someone from the elastic-package team to give the approval.

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too.

@aleksmaus aleksmaus merged commit 109c1ab into elastic:main Sep 13, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

4 participants