Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] grouper subject engine LDAP cert errors

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] grouper subject engine LDAP cert errors


Chronological Thread 
  • From: Liam Hoekenga <>
  • To: "Hyzer, Chris" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] grouper subject engine LDAP cert errors
  • Date: Wed, 31 Jan 2018 14:28:37 -0600
  • Ironport-phdr: 9a23:1e/aaBT5Zx31aNkSGAXKNd99Ldpsv+yvbD5Q0YIujvd0So/mwa6yZRSN2/xhgRfzUJnB7Loc0qyK6/mmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfa5+IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/2PZisJwgqxVow+vqQJjzIPPeo6ZKOBzc7nBcd8GR2dMWNtaWSxbAoO7aosCF+wPPedCoIn4ulAArxy+ChevBOzxzD9IiWX51rA93uQlEAHJxgkgH8gVvXTJqdX1NbsdUeCvwKbW0DrDcupb1DHg44bGdRAhpOuDXbN2ccfJ1EkvEgLFgUmQqYD/ITyay/kNv3CZ7+V6S+KgkWEmpxt3ojex2schjJTCiIENyl3c6yl0wZo5KN+9RU51YtOrC4dcuiSVOodqXs8tXWRltzomxrAGvJO2eTYGxZomyhPZdveJaZKH4gj5W+aUOTp4hGxqeLa4hxuq9Eiv0Oz8Vs2t3FZSoSpJjsDAt38T2xHd68WLUPR9/kCm2TaA0wDc9PtILlwzlareM5Ihw7gwmYQPsUnbACP7mVn6ga2Te0Uq+eWn8Pjrb7Dpq5OAK4N7lATzPbgylsG/BOk1NxYCUmaa9Oik0b3s50z5QLFEjv0slanZtYjXJcAapqGjBg9VyJ0u6wu6DzenzNsYnWMLI0xYdxKal4TpIU3BIOjkDfejhFShiDhrx+rBPr38GpXCMGLDnK78fbZm9UFc0hEzwMtb55JVEbEBPOnzVlHruNzZCB85LxK7w/zhCNpjyoMSR3iDDbGEP6PP4he04bdlA/ieaZVR8B39Mfk+rba6iHQ5iE0QZ4GoxpBRdWi1GPIgLkmENynCmNAEREMLtw92bOvni1CEXjcbM3KzVqcmziw+CYmmS4rPW9b+0/S6wC6nE8gONSh9AVeWHCKweg==

I apologize.  I checked my logs, and you're right, the error predates the patches.

It looks like there were some recent changes that I was unaware of - the cert on the LDAP server /was/ changed on 1/25/18
My loader noticed and started complaining about on 1/26.  I guess I haven't been in this sandbox environment since that change.

That said, the CN on the cert does match the hostname, and the CA cert is the trustStore.  :\

2018-01-26 06:15:00,832: [DefaultQuartzScheduler_Worker-5] ERROR DefaultLdapFactory.create(109) -  - unabled to connect to the ldap
javax.naming.CommunicationException: simple bind failed: mcqa-vault2.dsc.umich.edu:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Hostname '[mcqa-vault2.dsc.umich.edu]' does not match the hostname in the server's certificate]

[liamr@grouper1 conf]$ openssl s_client -connect mcqa-vault2.dsc.umich.edu:636 -showcerts
CONNECTED(00000003)
depth=1 OU = Organizational CA, O = MCOMMUNITYQA
verify error:num=19:self signed certificate in certificate chain
---
Certificate chain
 0 s:/O=MCOMMUNITYQA/CN=mcqa-vault2.dsc.umich.edu
   i:/OU=Organizational CA/O=MCOMMUNITYQA

I guess I'll keep poking at it.

Liam

On Wed, Jan 31, 2018 at 2:06 PM, Hyzer, Chris <> wrote:

You could revert those two patches and see if you can connect, I have a feeling you wont be able to since its unrelated, but please let me know.

 

Was the cert changed recently or the java version or something?

 

Thanks

Chris

 

From: [mailto:] On Behalf Of Liam Hoekenga
Sent: Wednesday, January 31, 2018 3:02 PM
To:
Subject: [grouper-users] grouper subject engine LDAP cert errors

 

I just installed API patches 90 and 91, and now I can't connect to the LDAP server defined in my subject.properties. 

 

The logs say...

2018-01-31 14:40:51,016: [localhost-startStop-1] ERROR DefaultLdapFactory.create(109) -  - unabled to connect to the ldap

javax.naming.CommunicationException: simple bind failed: mcqa-vault2.dsc.umich.edu:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Hostname '[mcqa-vault2.dsc.umich.edu]' does not match the hostname in the server's certificate]

 

Seems straightforward enough... but...

I've checked the cert's CN using "openssl s_client", and it's a match.

I've verified that the CA cert for our institutional CA that signed the cert is in the javax.net.ssl.trustStore being used for Tomcat.

 

Any ideas?

 

Liam





Archive powered by MHonArc 2.6.19.

Top of Page