ssl - TIBCO SMTP 发送邮件配置-证书问题

标签 ssl tibco

我已经在 Tibco BW 中创建了使用已发送邮件调色板的流程。 我已经使用 s_client -showcerts -connect smtp.gmail.com:587 -starttls smtp 下载了 gmail 证书 并在已发送邮件调色板中配置证书 我收到错误-

BW-MAIL-100019 Job-178001 Error in [Process/BloodRequest.process/Send Mail] Error sending mail message. Cause: javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

有人知道 Tibco BW 中的证书错误吗?

最佳答案

看起来您缺少一些根证书。 我怀疑您试图替换示例项目中的证书 https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-37939有过时的证书。

代替

openssl s_client -showcerts -connect smtp.gmail.com:587 -starttls smtp 

您可以从谷歌网站找到/下载谷歌证书https://pki.goog/ . 列表中的第一个证书 https://pki.goog/gtsr1/GTSR1.crt对我有用。

请注意,修复证书后出现以下错误:

BW-MAIL-100019 Job-34000 Error in [Mail/SendMail.process/Send Mail]
Error sending mail message. Cause: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials y23sm10913598iob.28 - gsmtp

只有在设置“允许安全性较低的应用:开启”后我才能发送电子邮件 https://myaccount.google.com/u/3/lesssecureapps?pli=1在 Google 帐户设置中

enter image description here

以防万一这里有其他可能的 javax.mail.AuthenticationFailedException 原因: JavaMail with Gmail: 535-5.7.1 Username and Password not accepted

关于ssl - TIBCO SMTP 发送邮件配置-证书问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58040194/

相关文章:

visualization - 如何在 Spotfire 中的过滤器中隐藏特定值?

javascript - 如何在html脚本中获取文档属性值

tibco - TIBCO Business Works 的开发环境是什么?

apache - 由 : sun. security.validator.ValidatorException 引起:PKIX 路径构建失败:

html - 使用相对 URL 切换到 SSL

java - 由 nginx 负载均衡的 SSL 服务器-客户端通信

java - 使用 JAVA 在 JMS 队列中发布消息

web-services - 通过 https 的 Tibco SOAP 请求 - SSL 证书验证问题

java - 使用匿名 SSL 连接到 WebSphere MQ

使用 PFX 文件的 SslStream AuthenticateAsClient