# Logstash + wildcard certificates (HTTPS)

**URL:** <https://discuss.elastic.co/t/logstash-wildcard-certificates-https/47520>\
**Category:** Logstash\
**Created:** [April 15, 2016, 3:38pm UTC](https://discuss.elastic.co/t/logstash-wildcard-certificates-https/47520 "2016-04-15T15:38:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Busindre](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@Busindre](https://discuss.elastic.co/u/Busindre)\
**Post date:** [April 15, 2016, 3:38pm UTC](https://discuss.elastic.co/t/logstash-wildcard-certificates-https/47520/1 "2016-04-15T15:38:10Z")

</div>

Hi!

Elasticsearch can be used as logstash-output using wildcard certificates (HTTPS) ?

`Failed to install template: hostname in certificate didn't match: <es2.DOMAIN> != <*> OR <DOMAIN> OR <*.DOMAIN> OR <es1> OR <es2> {:level=>:error}`

Certificates with multiple domains (SANs) work well, there are only problems when using wildcards.

---

<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:** [July 6, 2017, 5:02am UTC](https://discuss.elastic.co/t/logstash-wildcard-certificates-https/47520/2 "2017-07-06T05:02:03Z")

</div>


