问题描述
我用尽了主机名的所有可能组合,但总是收到证书错误或只是IMAP连接断开.
我使用的主机名是"{imap.froiden.com}INBOX
".是否有解决此错误的建议?
证书是完全无效的.您应该连接到imap.mailboxhost.com:993/imap/ssl
或与邮件服务器的管理员联系并要求提供有效的证书.
请注意,虽然您可以使用连接字符串imap.froiden.com:993/imap/ssl/novalidate-cert
跳过证书验证,但您不应这样做,因为该标志将允许任何 中间人 攻击者可以读写您的电子邮件. /p>
I used up all possible combinations of hostname but I always either get a certificate error or just IMAP connection broken.
Hostname which I used is '{imap.froiden.com}INBOX
'. ANy suggestion to solve this error?
The certificate is plain invalid. You should either connect to imap.mailboxhost.com:993/imap/ssl
or contact the administrator of the mail server and ask for a valid certificate.
Note that while you can use the connection string imap.froiden.com:993/imap/ssl/novalidate-cert
to skip certificate validation, you should not do so as that flag will allow any Man In The Middle attacker to read and write your email.
这篇关于在PHP中使用IMAP的证书错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!