# Filebeat Input Azure Event Hub Private Endpoint

**URL:** <https://discuss.elastic.co/t/filebeat-input-azure-event-hub-private-endpoint/316422>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 12, 2022, 9:18am UTC](https://discuss.elastic.co/t/filebeat-input-azure-event-hub-private-endpoint/316422 "2022-10-12T09:18:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erylis](https://avatars.discourse-cdn.com/v4/letter/e/278dde/32.png) [@Erylis](https://discuss.elastic.co/u/Erylis)\
**Post date:** [October 12, 2022, 9:18am UTC](https://discuss.elastic.co/t/filebeat-input-azure-event-hub-private-endpoint/316422/1 "2022-10-12T09:18:24Z")

</div>

Hello, I'm trying to connect filebeat with an azure eventhub using a private endpoint.  
The connection doesn't work properly because of a certificate issue :

```auto
2022-10-11T09:06:38.358+0200 ERROR [azure-eventhub input] azureeventhub/input.go:109 x509: certificate is valid for *.servicebus.windows.net, servicebus.windows.net, not xxx-xxx-xxx.privatelink.servicebus.windows.net {"connection string": "Endpoint=sb://xxx-xxx-xxx.privatelink.servicebus.windows.net/;SharedAccessKeyName=toto;SharedAccessKey=xxxxxxxxxxxxx

```

Do you have any idea to help me ?

Best Regards,

---

<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:** [November 9, 2022, 11:18am UTC](https://discuss.elastic.co/t/filebeat-input-azure-event-hub-private-endpoint/316422/2 "2022-11-09T11:18:49Z")

</div>

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