Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

StartTLS with Crowd

I'm looking for basic instructions to use StartTLS with Crowd directory and an active directory server currently using ldap.  I've enabled StartTLS in the admin area and even though I am able to sync and pull users I get a ton of tls errors in the logs and some users are not getting authenticated.   All is good if I don't use TLS. Do I need to install a cert on the Crowd server for it to use StartTLS?  We don't want to control users in AD from Crowd, just a one way pull.

If we run this command from the Crowd Linux Console:
sudo openssl s_client -connect ADserver.com:636

We do get a valid certificate from the AD server.

Here are some documents I've found but I'm not exactly sure what is needed in our case.

https://confluence.atlassian.com/crowd/troubleshooting-ssl-certificates-and-crowd-164495772.html

https://confluence.atlassian.com/crowd/configuring-an-ssl-certificate-for-microsoft-active-directory-63504388.html

1 answer

1 accepted

0 votes
Answer accepted

Just an update,  I was able to add our wildcard cert which has allowed ldaps to work.  

If I run java SSLPoke adserver.com 3269 it works connects. but if I change it to port 389 for tls it doesn't work:

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:209)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:138)
at SSLPoke.main(SSLPoke.java:23)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
3.5
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

71 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you