关于向foxmail发送报错的问题
Posted bulesea
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于向foxmail发送报错的问题相关的知识,希望对你有一定的参考价值。
-2023-06-07 14:17:39.729 [TID: N/A] ERROR 28772 --- [ XNIO-1 task-1] c.s.s.a.s.impl.SysEmailSendServiceImpl : Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
说白了就是TLS没有关闭,网上说是在配置文件修改
我当时就懵逼了,我们这个系统这些配置是在数据库配置的,有SSL的关闭和开启,没有TLS啊,最后只能顺着代码找,在一个犄角旮旯的工具类里面找到了TLS的配置
我也是服了
关于rsync报错的问题
现在这里总结一下,rsync报错常见的有2个原因:
1、密码文件权限没有改为600
2、server上密码文件为myuser:mypass,client端为mypass即可
3、关于共享路径,不要设错。
本文出自 “10633230” 博客,请务必保留此出处http://10643230.blog.51cto.com/10633230/1863935
以上是关于关于向foxmail发送报错的问题的主要内容,如果未能解决你的问题,请参考以下文章