• MessagingException: Could not convert socket to TLS

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #53139  by itwolf
 
Hi folks,
I search in the last weeks for a solution for the mail configuration. I found helpful solutions, but now I have a problem with jave who has no bugfix.
I get all the MessagingException: Could not convert socket to TLS.
My configuration in the file server.xml is for mail:
Code: Select all
    <Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
              mail.from="My address"
              mail.transport.protocol="smtp"
              mail.smtp.starttls.enable="true"
              mail.smtp.auth="true"
              mail.smtp.host="smtp.strato.de"
              mail.smtp.port="25"
              mail.smtp.quitwait="false"
              mail.smtp.ssl.trust="smtp.strato.de"
              mail.smtp.user="My user"
              password="Password"
              mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
              mail.debug="true"/>
My Java version is 1.8.0_292-b10
My email post box is the provider strato.
I think the configuration is good, but I no Idea what can be wrong.
Have anybody an idea.

Thx
ITWolf

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.