简体   繁体   English

证书必须有效才能使用CDOSYS和SMTPS进行邮寄吗?

[英]Does a certificate have to be valid to mail using CDOSYS and SMTPS?

Due to a limitation on our SMTP provder's side, we're having to use System.Web.Mail (deprecated), which is a wrapper around CDOSSYS. 由于SMTP提供者方面的限制,我们不得不使用System.Web.Mail(不建议使用),它是CDOSSYS的包装。

Because we'd like to avoid having to change multiple configurations if we switch providers at a later date, we set up an internal alias for our providers FQDN. 因为我们希望避免以后再切换提供程序时必须更改多个配置,所以我们为提供程序FQDN设置了内部别名。

So, mailrelay.ourdomain.com -> mailrelay.provider.com. 因此,mailrelay.ourdomain.com-> mailrelay.provider.com。

When I try to connect to either our alias or the provider's IP, a COM error bubbles up: "The transport failed to connect to the server." 当我尝试连接到我们的别名或提供者的IP时,出现COM错误:“传输无法连接到服务器。” If I connect to the provider's true FQDN, everything works as expected. 如果我连接到提供程序的真实FQDN,则一切正常。

I've looked in Wireshark, and I can see the certificate being requested, but not much happens after that. 我查看了Wireshark,可以看到所请求的证书,但是此后没有发生太多事情。

I'm wondering if anyone knows if CDOSSYS checks to make sure the requested host name matches the FQDN on the certificate and fails if it doesn't match. 我想知道是否有人知道CDOSSYS是否检查以确保请求的主机名与证书上的FQDN相匹配,如果不匹配则失败。

I've tried searching for an answer to this question, but I can't seem to find it. 我曾尝试寻找该问题的答案,但似乎找不到。

我找不到确切的答案,但是据我所知,是的,在使用SSL时,CDOSYS确实需要认证以匹配SMTP服务器的FQDN。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM