Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Net.HttpWebException when using IIS SEO Toolkit

When running IIS SEO toolkit on my customer's site I am getting the following error:

The link to 'https://www.my-client-website.censored/' has resulted in an error.
Details: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Web.Management.SEO.Crawler.UrlDownloader.OnGetContent(CrawlerProcessContext context)

The site is being served by nginx and rails, and I do not find any errors in the logs. Currently, I do not know how can I troubleshot this issue or what might be its cause. Does anyone has suggestions about how should I further troubleshoot this issue?

like image 680
Pedro Rolo Avatar asked Sep 16 '26 17:09

Pedro Rolo


1 Answers

There were two issues with my website:

One was that I was redirecting https://domain to https://www.domain The other was that the IIS SEO Toolkit does not support TLSv1.2 and my nginx was configured to only support TLSv1.2. I thus had to temporarily comment the redirect rule and add TLSv1 support with corresponding ciphers in order to crawl the website.

like image 200
Pedro Rolo Avatar answered Sep 18 '26 09:09

Pedro Rolo