# Azure module setup with elastic https security

**URL:** <https://discuss.elastic.co/t/azure-module-setup-with-elastic-https-security/215009>\
**Category:** Logstash\
**Created:** [January 14, 2020, 3:54pm UTC](https://discuss.elastic.co/t/azure-module-setup-with-elastic-https-security/215009 "2020-01-14T15:54:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [January 14, 2020, 3:54pm UTC](https://discuss.elastic.co/t/azure-module-setup-with-elastic-https-security/215009/1 "2020-01-14T15:54:37Z")

</div>

I'm trying to run setup for the logstash (7.5.0) azure module. All examples are without security but we are using elasticsearch https.

I'm getting errors:

> [2020-01-14T09:42:45,431][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=\>"Elasticsearch Unreachable: [[https://met-elk-csg06.missouri.edu:9200/](https://met-elk-csg06.missouri.edu:9200/)][Manticore::ClientProtocolException] PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"}
> 
> [2020-01-14T09:42:45,506][ERROR][logstash.licensechecker.modulelicensechecker] Failed to fetch X-Pack information from Elasticsearch. This is likely due to failure to reach a live Elasticsearch cluster.
> 
> [2020-01-14T09:42:45,513][WARN][logstash.config.modulescommon] The azure module is not enabled. Please check the logs for additional information.

I think the key is "unable to find valid certification path", per tcpdump, no connection is attempted. I added these variables to the module config but they don't seem to make any difference:

```
   ....
   var.elasticsearch.cacerts: "/etc/logstash/certs/https_interm.cer"
   var.elasticsearch.user: userid
   var.elasticsearch.password: password
   ....

```

These values work in elasticsearch output plugins (in other logstash instances)

Any ideas or any pointers to where this is documented?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 11, 2020, 3:54pm UTC](https://discuss.elastic.co/t/azure-module-setup-with-elastic-https-security/215009/2 "2020-02-11T15:54:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
