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

时间:2019-09-21 12:18:31

标签: ssl tibco

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

  

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

有人对Tibco BW中的证书错误有想法吗?

1 个答案:

答案 0 :(得分:0)

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

代替

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

您可以从Google网站https://pki.goog/查找/下载Google证书。 列表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