Andrea Tarocchi created CAMEL-19834:
---------------------------------------

             Summary: 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


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)

Reply via email to