java.security.cert.CertificateException: Hostname '[wintest.johnshopkins.edu]' does not match the hostname in the server's certificate

Etan Weintraub eweintra at jhmi.edu
Thu Jun 6 11:02:40 EDT 2013


Hi all-
I need some help. This currently works in our test and production environments, but I'm trying to set up our new test environment (going to IdP v2.4.0) and I can't get this piece to work or remember how I got it to work on the old systems. We use Active Directory for our backend LDAP servers that we access in the attribute-resolver.xml. We have a shared server name of "wintest.johnshopkins.edu", that is essentially a DNS round robin for the servers. Each individual server has its own certificate with its own hostname on it (i.e. wintestserver1.wintest.adtest.jhu.edu). Whenever I start Tomcat, I get an error in the idp-process.log that contains the string "java.security.cert.CertificateException: Hostname '[wintest.johnshopkins.edu]' does not match the hostname in the server's certificate" (there is a bunch more to the error as far as java errors, but this is I believe the key part).

Anyone know how to ignore the hostname mismatch for LDAPS connections in attribute-resolver.xml?

-Etan E. Weintraub
Sr. Systems Engineer
Directory Architecture
IT at Johns Hopkins
Johns Hopkins at Mt. Washington
5801 Smith Ave.
Suite 3110B
Baltimore, MD 21209
Phone: 410-735-7945
E-mail: eweintra at jhmi.edu<mailto:eweintra at jhmi.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130606/f8390615/attachment.html 


More information about the users mailing list