James 3.5.0 startTLS="true"
Amlan Sengupta <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am running into a weird problem with James 3.5.0. I am trying to enable the following but it fails to load the cacerts-test. I have confirmed the file exist and the secret is correct. I also hardcoded the values of the secret but startTLS="true"> to no vail.
<tls socketTLS="false" startTLS="true">
<!-- To create a new keystore execute:
keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore
-->
<keystore>/opt/db/jdk/11/${env:JDK}/lib/security/cacerts-test</keystore>
<secret>xxxxxxx</secret>
<provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
<!-- The algorithm is optional and only needs to be specified when using something other
than the Sun JCE provider - You could use IbmX509 with IBM Java runtime. -->
<algorithm>SunX509</algorithm>
</tls>
I keep getting :
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpserver': Invocation of init method failed; nested exception is java.io.FileNotFoundException: Could not load file /opt/db/jdk/11/jdk11.0.9/lib/security/cacerts-test
jvm 1 | Caused by: java.io.FileNotFoundException: Could not load file /opt/db/jdk/11/jdk11.0.9/lib/security/cacerts-test
Any suggestions or anyone else seen this ? Amlan
---
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to https://www.db.com/disclosures for additional EU corporate and regulatory disclosures and to http://www.db.com/unitedkingdom/content/privacy.htm for information about privacy.