2011-09-16 14 views
0

春LDAP TLS/SSL例外:PKIXパスの構築に失敗しました:TLS経由のLDAPサーバーへの接続

org.springframework.ldap.UncategorizedLdapException: Failed to negotiate TLS session; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
at org.springframework.ldap.core.support.AbstractTlsDirContextAuthenticationStrategy.processContextAfterCreation(AbstractTlsDirContextAuthenticationStrategy.java:155) 
at org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:109) 
at org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:125) 
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:287) 
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259) 
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:571) 
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:556) 
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:411) 
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:431) 

私は、適切な証明書が存在しているチェックして例外で失敗要求されたターゲットへの有効な証明書パスを見つけることができませんPKIX path building failed while making SSL connectionに記載されているように私のキーストアと不足しているものをインポートしましたが、私はまだ例外を取得しています。何か案は?問題は、LDAPサーバによって生成証明書である

おかげで、

ナイジェル

答えて

0

が、これは確認されていると問題は解決します。

関連する問題