# User Federation - LDAP - StartTLS

**URL:** <https://forum.keycloak.org/t/user-federation-ldap-starttls/4408>\
**Category:** Getting advice\
**Tags:** ldap\
**Created:** [August 20, 2020, 11:36pm UTC](https://forum.keycloak.org/t/user-federation-ldap-starttls/4408 "2020-08-20T23:36:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![russ](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@russ](https://forum.keycloak.org/u/russ)\
**Post date:** [August 20, 2020, 11:36pm UTC](https://forum.keycloak.org/t/user-federation-ldap-starttls/4408/1 "2020-08-20T23:36:17Z")

</div>

I recently decided to encrypt my LDAP server and clients on Linux Ubuntu.  
It seems everything works find but I broke Keycloak, which worked fine before I encrypted with startTLS.  
Log error:  
LDAP: error code 13 - TLS confidentiality required

The Advanced Settings button “Enable StartTLS” doesn’t seem to help much.

Just using regular standalone.

Sure could use some advice. What am I missing?

thx,  
–Russ

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.keycloak.org/u/Robinyo)\
**Post date:** [August 21, 2020, 6:08am UTC](https://forum.keycloak.org/t/user-federation-ldap-starttls/4408/2 "2020-08-21T06:08:32Z")

</div>

See:

- [Keycloak startTLS openldap user credentials failure](http://forum.keycloak.org/t/keycloak-starttls-openldap-user-credentials-failure/3867/2)
- [Mutualy authenticated LDAP user storage federation](http://forum.keycloak.org/t/mutualy-authenticated-ldap-user-storage-federation/1009/5)
