The error indicates that transport encryption is required -- this generally 
means you need to change the LDAP server URI from ldap://server.domain.gTLD 
to ldaps://server.domain.gTLD *but* since few LDAP servers use certs issued 
from a public certificate authority (CA), you'll also need to set up the 
certificate trust. I use a private CA to sign all certificates, so can 
import the CA public key into the Java truststore. Just use any keytool and 
explore your thekeystore and copy and paste your self sign cert inside 
thekeystore. For authentication you can use LDAP only like me and use the 
port 389. Can you please post your config as well?


On Friday, July 12, 2019 at 4:36:55 PM UTC+8, Alex Samosir wrote:
>
> Im trying your configuration in my cas 
> And its return javax.naming.AuthenticationNotSupportedException: [LDAP: 
> error code 8 - BindSimple: Transport encryption required.]
> And the CAS not loaded.
>
>
> Did I miss something?
> Im new to CAS, so Im just following new school documentation, how to 
> implement CAS
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/cd9aaf24-a124-46ea-9435-10d26676a823%40apereo.org.

Reply via email to