# X-ProxiedEntitiesChain - Has anyone used it in a heartbeat?

**URL:** <https://discuss.elastic.co/t/x-proxiedentitieschain-has-anyone-used-it-in-a-heartbeat/239159>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [June 29, 2020, 4:44pm UTC](https://discuss.elastic.co/t/x-proxiedentitieschain-has-anyone-used-it-in-a-heartbeat/239159 "2020-06-29T16:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soooooobusy](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@soooooobusy](https://discuss.elastic.co/u/soooooobusy)\
**Post date:** [June 29, 2020, 4:44pm UTC](https://discuss.elastic.co/t/x-proxiedentitieschain-has-anyone-used-it-in-a-heartbeat/239159/1 "2020-06-29T16:44:56Z")

</div>

Hi,

I'm trying to get a check.request to a RESTful endpoint, using GET and headers of Accept and X-ProxiedEntitiesChain, but I can't seem to pass across the Chain correctly to get authorisation.

I'm using -

Accept: 'application/json'  
X-ProxiedEntitiesChain: 'CN=122445,OU=etc etc,OU=etc etc,O=xyz,C=GB'

But it still doesn't want to authorise, if I remove that line and just use the default cert the RESTful service prompts me correctly, so I feel the rest of my syntax is OK

The same query works with curl using -H for both headers.

Any help greatly appreciated.

---

<div class="post-metadata">

**Author:** ![tucker](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@tucker](https://discuss.elastic.co/u/tucker)\
**Post date:** [July 2, 2020, 3:08pm UTC](https://discuss.elastic.co/t/x-proxiedentitieschain-has-anyone-used-it-in-a-heartbeat/239159/2 "2020-07-02T15:08:41Z")

</div>

This can happen because Elastic-Heartbeat doesn't preserve the case of headers that are set explicitly. So if you are searching for HTTP:X-ProxiedEntitiesChain as an exact match, you may not find it.

---

<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 30, 2020, 5:08pm UTC](https://discuss.elastic.co/t/x-proxiedentitieschain-has-anyone-used-it-in-a-heartbeat/239159/3 "2020-07-30T17:08:44Z")

</div>

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