# Shield - AD integration error

**URL:** <https://discuss.elastic.co/t/shield-ad-integration-error/59497>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [September 1, 2016, 6:35am UTC](https://discuss.elastic.co/t/shield-ad-integration-error/59497 "2016-09-01T06:35:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kishore](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@Kishore](https://discuss.elastic.co/u/Kishore)\
**Post date:** [September 1, 2016, 6:35am UTC](https://discuss.elastic.co/t/shield-ad-integration-error/59497/1 "2016-09-01T06:35:46Z")

</div>

I have configured shield with Active Directory, done every thing explained by elastic but ending up with below error, what would be the cause?

_cause: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to connect to server AIPTEST-MAD.AIPTEST.LOCAL:636: java.io.IOException: Unable to verify an attempt to to establish a secure connection to 'AIPTEST-MAD.AIPTEST.LOCAL:636' because an unexpected error was encountered during validation processing: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated_

---

<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, 1:42pm UTC](https://discuss.elastic.co/t/shield-ad-integration-error/59497/2 "2017-07-06T13:42:02Z")

</div>


