This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new f0f8aec934 Feature/fixing tupo truststoretype (#1999)
f0f8aec934 is described below
commit f0f8aec934cd789c214274420262bd1f8f367b69
Author: Leonard Wolters <[email protected]>
AuthorDate: Fri Feb 16 11:03:47 2024 +0100
Feature/fixing tupo truststoretype (#1999)
---
.../org/apache/james/protocols/lib/LegacyJavaEncryptionFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/server/protocols/protocols-library/src/main/java/org/apache/james/protocols/lib/LegacyJavaEncryptionFactory.java
b/server/protocols/protocols-library/src/main/java/org/apache/james/protocols/lib/LegacyJavaEncryptionFactory.java
index 491653ce42..a0eb7d85c9 100644
---
a/server/protocols/protocols-library/src/main/java/org/apache/james/protocols/lib/LegacyJavaEncryptionFactory.java
+++
b/server/protocols/protocols-library/src/main/java/org/apache/james/protocols/lib/LegacyJavaEncryptionFactory.java
@@ -86,12 +86,12 @@ public class LegacyJavaEncryptionFactory implements
Encryption.Factory {
sslFactoryBuilder.withTrustMaterial(
fileSystem.getFile(sslConfig.getTruststore()).toPath(),
sslConfig.getTruststoreSecret(),
- sslConfig.getKeystoreType(),
+ sslConfig.getTruststoreType(),
trustOptions)).sneakyThrow(),
Throwing.runnable(() -> sslFactoryBuilder.withTrustMaterial(
fileSystem.getFile(sslConfig.getTruststore()).toPath(),
sslConfig.getTruststoreSecret(),
- sslConfig.getKeystoreType())));
+ sslConfig.getTruststoreType())));
}
SSLContext context = sslFactoryBuilder.build().getSslContext();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]