Lambert 的个人资料Lambert Qin's technical ...照片日志列表更多 工具 帮助

日志


    11月5日

    Crawling Exchange Server 2007 Public Folders in SharePoint Server 2007 (Part 2)

    In previous blog, I simplify the configurations to a non-SSL environment, of cause, this is not the Exchange Server 2007 Default Settings and it is not fit for production environment, now I would like to change the settings back.

    1. Remove All SSL setting in the Exchange Server 2007 (ignore the steps if you are using Default Settings).

    1). Change the internal URL to back to HTTPs.

    image

    2). Un-check Require SSL option of SSL Settings in IIS Manager for OWA and Public virtual directory (vDir).

    image_thumb3 image

    3). Restart IIS using IISReset /noforce.

    4). Access the Test public folder “https://exchangeserver/public for testing purpose.

    you would see the URL direct to “https://exchangeserver/OWA” with an SSL certificate name warning.

    image

    You could ignore it by choosing Continue to this website, or add the certificate to Trusted Root Certification Authorities to resolve the issue.

    (Optional) I do not like the default Exchange certificate (it is issued to NetBIOS name and make my demo failed a few times), so I create Self-Signed Certificate to replace it. you could create you own or using your current certificate based on your real environment.

    In IIS Manager, Click Server Certificates.

    image

    In Actions, choose Create Self-Signed Certificate. Give a friendly name, click OK.

    image

    2. Add a new content source in SharePoint to crawl.

    image

    3. Start a Full Crawl for testing and an error 0x80040E4D.

    image

    if you checked Ignore SSL certificate name warnings in Central Administration > Application Management > Search Service > Farm-Level Search Settings, the error would looks like:

    image

    The error message for 0x80040E4D is DB_SEC_E_AUTH_FAILED which indicates this is an authentication error, and it seems a certificate error.

    4. Add a crawl rule to attach the certificate.

    1). Export the certificate from Exchange Server 2007 from IIS Manager.

    image

    image

    image

    2). Import to Index Server of SharePoint Farm.

    Start > Run > mmc to open Microsoft Management Console.

     image

    Add Certificates Snap-in to the console, and choose Computer account. Click OK.

    image image

    Import the certificate to Personal and Trusted Root Certification Authorities.

    image image

    3). Create a new rule for the IIS site hosts Exchange services and attach the certificate to the crawler.

    image

    5. Start a Full Crawl for testing again and get a weird certificate error which I totally do not understand.

    image

    forget it, I have already attached the certificate to the crawler.

    6. Assign the crawler to use a account which has the permission to access to Exchange OWA.

    You could choose using another content access account or form credentials based on your OWA configurations.

    Please make sure this rule has priority over the certificate rule.

    image

    and the rules looks like:

    image

    7. Start a Full Crawl for testing. Congratulations!  You made it!

    image

     

    Comments:

    The key point is the SSL certificate, you may also need to check the settings in Central Administration > Application Management > Search Service > Farm-Level Search Settings.

    If you get warnings when access the Public Folder in IE, you need to make sure the option is checked.

    image

     

    Specially thanks to Weiyi Hu, who is a support engineer in Microsoft, Some of the steps come from one of her cases.

    评论

    请稍候...
    很抱歉,您输入的评论太长。请缩短您的评论。
    您没有输入任何内容,请重试。
    很抱歉,我们当前无法添加您的评论。请稍后重试。
    若要添加评论,需要您的家长授予您相应权限。请求权限
    您的家长禁用了评论功能。
    很抱歉,我们当前无法删除您的评论。请稍后重试。
    您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
    因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
    完成下面的安全检查,您提供评论的过程才能完成。
    您在安全检查中键入的字符必须与图片或音频中的字符一致。

    若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


    还没有 Windows Live ID 吗?请注册

    引用通告

    此日志的引用通告 URL 是:
    http://lambertqin.spaces.live.com/blog/cns!E93C48B467E6B3E1!1239.trak
    引用此项的网络日志