[
https://issues.apache.org/jira/browse/CAMEL-19834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762079#comment-17762079
]
Nicolas Filotto commented on CAMEL-19834:
-----------------------------------------
It has been done this way because IIRC by default the security pack is enabled
and since we use the OS version of ES, we have to configure TLS/SSL. So to
implement it, you will probably need to disable the security pack, see
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#general-security-settings
for more details
> camel-test-infra-elasticsearch container start fails if ca cert is not present
> ------------------------------------------------------------------------------
>
> Key: CAMEL-19834
> URL: https://issues.apache.org/jira/browse/CAMEL-19834
> Project: Camel
> Issue Type: Bug
> Components: camel-elasticsearch
> Affects Versions: 4.0.0
> Reporter: Andrea Tarocchi
> Assignee: Andrea Tarocchi
> Priority: Major
>
> It is possible to configure elasticsearch container to not generate a self
> signed CA certificate by basically disabling SSL. In this case the container
> init would fail with {{java.util.NoSuchElementException: No value present}}
> this is due to
> https://github.com/apache/camel/blob/camel-4.0.x/test-infra/camel-test-infra-elasticsearch/src/test/java/org/apache/camel/test/infra/elasticsearch/services/ElasticSearchLocalContainerService.java#L99
> being called even if CA cert is not present.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)