【问题标题】:TIBCO SMTP Sent Mail Configuration-Cert issueTIBCO SMTP 已发送邮件配置-证书问题
【发布时间】:2020-01-22 05:03:17
【问题描述】:

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

BW-MAIL-100019 Job-178001 [Process/BloodRequest.process/Send 中的错误 Mail] 发送邮件消息时出错。原因: javax.mail.MessagingException:无法将套接字转换为 TLS;嵌套的 例外是:iaik.security.ssl.SSLException:服务器证书 被 ChainVerifier 拒绝

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

【问题讨论】:

  • tibco bw 版本是什么?
  • tibco BW 版本为 5.13。

标签: ssl tibco


【解决方案1】:

您似乎缺少一些根证书。 我怀疑您试图替换示例项目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 帐户设置中

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

【讨论】:

    猜你喜欢
    • 2023-03-19
    • 1970-01-01
    • 2017-08-10
    • 1970-01-01
    • 2013-06-20
    • 2012-12-13
    • 1970-01-01
    • 1970-01-01
    • 2015-10-15
    相关资源
    最近更新 更多