[英]How to enable SSL usage when using local XML autodiscover file?
I use the Redemption library and I encountered a problem I can not solve by myself.我使用了 Redemption 库,遇到了一个我自己无法解决的问题。 In my project, I use a local XML file to login to the Exchange server (Autodiscover service is disabled on the server and can not be enabled).
在我的项目中,我使用本地的XML文件登录Exchange服务器(服务器上禁用了Autodiscover服务,无法启用)。 For this purpose, I create an Outlook Autodiscover "PreferLocalXml" registry key value and a domain name value defining the path to the local XML file.
为此,我创建了一个 Outlook 自动发现“PreferLocalXml”注册表项值和一个定义本地 XML 文件路径的域名值。 Redemption works correctly, but for some reason it does not use SSL when sending requests to the server.
兑换工作正常,但由于某种原因,它在向服务器发送请求时不使用 SSL。 Is it possible to force SSL usage in this case?
在这种情况下是否可以强制使用 SSL? However, using Autodiscover (without local XML file) works fine (SSL is used).
但是,使用自动发现(没有本地 XML 文件)工作正常(使用 SSL)。 Thank you in advance for your help.
预先感谢您的帮助。
I tried setting RDOSession.ConnectEncryptData to true, but it did not work.我尝试将 RDOSession.ConnectEncryptData 设置为 true,但没有成功。
But PreferLocalXml
is supposed to point to a local file, not a web server, so SSL would not apply - the file is accesses using the file API.但是
PreferLocalXml
应该指向本地文件,而不是 web 服务器,因此 SSL 不适用 - 使用文件 API 访问该文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.