# X509 : SAN ips / other erros

**URL:** <https://discuss.elastic.co/t/x509-san-ips-other-erros/74387>\
**Category:** Logstash\
**Created:** [February 8, 2017, 3:15pm UTC](https://discuss.elastic.co/t/x509-san-ips-other-erros/74387 "2017-02-08T15:15:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimmyLumi](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JimmyLumi](https://discuss.elastic.co/u/JimmyLumi)\
**Post date:** [February 8, 2017, 3:15pm UTC](https://discuss.elastic.co/t/x509-san-ips-other-erros/74387/1 "2017-02-08T15:15:26Z")

</div>

Hello,

Following this tutorial [https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-16-04](https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-16-04).

Everything was going great, filebeat info are showing up (i was forced to put the insecure:true in the config)  
I was next trying to install metricbeat the same way i did for filebeat. And i encountered an error sending the information to logstash:

If i use a FQDN cert as in the DigitalOcean tutorial i get :  
`2017-02-08T15:47:22+01:00 ERR Connecting error publishing events (retrying): x509: certificate is valid for , not ec2-34-249-172-152.eu-west-1.compute.amazonaws.com`

If i use the IP certs:  
`2017-02-08T15:57:51+01:00 ERR Connecting error publishing events (retrying): x509: cannot validate certificate for 34.249.172.152 because it doesn't contain any IP SANs`

Can someone help with that?

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:** [March 8, 2017, 3:15pm UTC](https://discuss.elastic.co/t/x509-san-ips-other-erros/74387/2 "2017-03-08T15:15:55Z")

</div>

Closed on March 8, 2017, 3:15pm UTC

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