Mareike Täubner created DIRSERVER-2209:
------------------------------------------
Summary: SSL handshake fails when server uses an PKCS12 keystore
Key: DIRSERVER-2209
URL: https://issues.apache.org/jira/browse/DIRSERVER-2209
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 2.0.0-M23, 2.0.0-M24
Environment: OS:
Windows 7 Professional 64 Bit
JRE:
jre1.8.0_144
Test-Client:
Apache Directory Studio 2.0.0.v20150606-M9
Reporter: Mareike Täubner
Priority: Minor
Attachments: test-ldap.zip
I am using the apache directory server library
(or.apache.directory.server.apacheds-all 2.0.0-M23) to run a simple LDAP
instance. As I was implementing an LDAPS connection I got stuck with the
following issue:
When setting the keystore file in the LdapServer object, it makes a difference
whether it is an JKS or PKCS12 keystore. Using the JKS the client can
successfully connect via LDAPS. With the PKCS12 the client can't connect
because the SSL handshake fails.
I have added a minimal example project that reproduces the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)