The secure sockets layer (SSL) certificate sent by the server was invalid and this item will not be crawled

Error we faced today in a next production environment, we used a self signed certificate and we receive this error when we tried to crawl the app web:

The secure sockets layer (SSL) certificate sent by the server was invalid and this item will not be crawled

Solution:

 Go to Central Administration > Application Management > Manage services on server >  Sharepoint Server Search and set it to ignore SSL warnings. Repeat full crawl of your content source again.

Or in powershell:

$searchService = Get-SPEnterpriseSearchService

if($searchService.IgnoreSSLWarnings -eq $false)

{

    Write-Host "3. Setting Ignore SSL Warnings to true..." -NoNewline

$searchService.IgnoreSSLWarnings = $true

    Write-Host "OK"

}

Hope it helps

Advertisements

2 thoughts on “The secure sockets layer (SSL) certificate sent by the server was invalid and this item will not be crawled

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s