posts - 18, comments - 317, trackbacks - 0, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

2004年11月22日

 
  1. Microsoft

http://www.microsoft.com/exchange/default.mspx

 

Microsoft Exchange Server TechCenter

http://www.microsoft.com/technet/prodtechnol/exchange/default.mspx

 

Exchange Server Developer Information on MSDN

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/exchangesvr.asp

 

  1. Exchange Resources

http://www.msexchange.org

 

  1. SSL Enabling OWA 2003 using your own Certificate Authority

http://www.msexchange.org/tutorials/SSL_Enabling_OWA_2003.html

 

  1. 当设置OWA认证方式为Forms-based Authentication时,设置用户的默认域以及自定义用户登录页面

Outlook Web Access 2003 Forms-based Authentication and the default domain dilemma

http://www.msexchange.org/tutorials/OWA2003Forms-based-Authentication-default-domain.html

Author :Henrik Walther

 

  1. Microsoft Knowledge Base Article - 820378

Outlook Web Access session unexpectedly quits when forms-based authentication is used

http://support.microsoft.com/?kbid=820378

 

  1. Microsoft Knowledge Base Article - 830827 How To manage Outlook Web Access features in Exchange Server 2003

http://support.microsoft.com/?kbid=830827

 

  1. Microsoft Knowledge Base Article - 218445

How to configure Certificate Server for use with SSL on IIS

http://support.microsoft.com/default.aspx?scid=kb;EN-US;218445

 

http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_21137979.html

 

  1. Microsoft Knowledge Base Article - 313114 如何使用C# .NET创建一个启用了邮箱的收件人

http://support.microsoft.com/?kbid=313114

 

  1. 在博客堂中的一篇关于Exchange的文章?

http://blog.joycode.com/liuhuimiao/archive/2003/12/25/9869.aspx

 

  1. Microsoft关于OWA的所有知识库文章

http://www.kbalertz.com/sresults.aspx?sw=OWA&st=1

 

  1. Microsoft Knowledge Base Article - 832414 对包含嵌入式用户凭据的URL进行XMLHTTP调用失败

http://support.microsoft.com/default.aspx?kbid=832414

 

  1. Microsoft Knowledge Base Article  How to Change the Outlook Web Access Logon Page

http://support.microsoft.com/default.aspx?scid=kb;EN-US;321832

 

  1. Access the Exchange store via WebDAV with Form-Based-Authentication turned on

http://www.infinitec.de/pages/?page=knowledge&category=kb&id=IT000021

 

  1. 赛迪网中有一篇关于如何使用C#访问Hotmail邮箱的文章

http://tech.ccidnet.com/pub/article/c1137_a42090_p1.html

 

  1. .NET中获取Ad上账号密码过期时间

http://www.cnblogs.com/flier/archive/2004/10/21/55266.html

 

  1. Exchange 2003 OWA -Question

http://www.broadbandreports.com/forum/remark,9581408~mode=flat

 

  1. Securing Exchange Server 2003 & Outlook Web Access: Chapter 5 on MSExchange.Org

http://www.msexchange.org/tutorials/Securing-Exchange-Server-2003-Outlook-Web-Access-Chapter5.html

posted @ 2004-11-22 15:25 jeseeqing 阅读(1429) 评论(2) 编辑

 在做Exchange的应用时,WebDAV可能是用得比较多的一种开发技术。WebDAV是对Http协义的扩展,可以在C#中使用Web请求来对Exchange中的信息进行访问。

当我将Exchange虚拟目录设置为需要SSL安全通道时,并使用Windows 2000 Server自带的证书服务颁发自已的证书,当封装WebDAV请求时

WebResponse response = (HttpWebResponse)request.GetResponse();

系统会抛出WebException异常,其Status属性为WebExceptionStatus.TrustFailure

当将Exchange虚拟目录设置为不需要SSL安全通道时,则不引发任何异常。

 

原因:是由于安全证书的信任问题,因为你没有配置好信任你的企业安全证书;你可以尝试使用IE打开你所请求的URL,如果收到一个安全警告,代表安全证书还没有配置为信任的安全证书,则使用上述方法时会抛出异常;如果没有收到一个安全警告,表示你已经信任了此安全证书,则不会抛出异常。

 

解决方法:

方法1配置信任你访问的站点安全证书,则不会抛出WebException异常;

 

方法2实现ICertificatePolicy接口,在CheckValidationResult方法中返回true,再设置ServicePointManager

CertificatePolicy属性为刚刚实现的类;

代码示例如下:


 

然后再执行ServicePointManager.CertificatePolicy = new TrustAllCertification()

即可

posted @ 2004-11-22 14:58 jeseeqing 阅读(1633) 评论(4) 编辑