Configure SSL certificate warning settings using Power Shell

In this article we will be seeing how to configure SSL certificate warning in SharePoint 2010 farm-level search settings.

Through User Interface:

  • Go to Central Administration, in the Quick Launch, click General Application Settings.
  • On the General Application Settings page, in the Search section, click Farm Search Administration.

    vi.gif

  • On the Farm Search Administration page, in the Farm-Level Search Settings section, click the value of the Ignore SSL Warnings setting.

    vi1.gif

  • If you want the crawler to proceed to crawl content even if the site name and the name in the SSL certificate do not match select the Ignore SSL certificate name warnings check box.

    vi2.gif
  • Click Ok.

Through Power Shell script:

Set-SPEnterpriseSearchService -IgnoreSSLWarnings $true

Set-SPEnterpriseSearchService -IgnoreSSLWarnings $false