Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Conversation

serbanc-ppb
Copy link

Allow posibility to ignore server side certificates when connecting to ElasticSearch

Allow posibility to ignore server side certificates when connecting to ElasticSearch
if (System.getenv(ENV_AWS_ACCESS_KEY) != null && System.getenv(ENV_AWS_SECRET_KEY) != null) {
USE_AWS_CREDENTIALS = true;
}
if (System.getenv(ENV_IGNORE_TLS_CERTIFICATE) != null && System.getenv(ENV_IGNORE_TLS_CERTIFICATE) != null) {
Copy link

Choose a reason for hiding this comment

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

why is System.getenv(ENV_IGNORE_TLS_CERTIFICATE) checked twice here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants