Skip to content

Conversation

@aleksmaus
Copy link
Contributor

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 
@aleksmaus aleksmaus requested a review from jsoriano September 11, 2024 18:38
@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
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants