mbaedke commented on code in PR #3080:
URL: https://github.com/apache/jackrabbit-oak/pull/3080#discussion_r3775217587
##########
oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/AbstractServer.java:
##########
@@ -230,7 +233,12 @@ private void startLdapServer() throws Exception {
protected void setupLdapServer() throws Exception {
TcpTransport transport = new TcpTransport((port));
transport.enableSSL(enableSSL);
-
+ URL keyStoreUrl =
AbstractServer.class.getClassLoader().getResource(TLS_KEYSTORE_RESOURCE);
+ if (keyStoreUrl == null) {
+ throw new IOException("Unable to locate test TLS keystore: " +
TLS_KEYSTORE_RESOURCE);
+ }
+ ldapServer.setKeystoreFile(new
File(keyStoreUrl.toURI()).getAbsolutePath());
+ ldapServer.setCertificatePassword(TLS_KEYSTORE_PASSWORD);
Review Comment:
No, this is about TLS, not SSL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]