【问题标题】:System.Net.HttpWebException when using IIS SEO Toolkit使用 IIS SEO 工具包时的 System.Net.HttpWebException
【发布时间】:2018-02-01 04:33:48
【问题描述】:

在我客户的网站上运行 IIS SEO 工具包时,我收到以下错误:

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)

该站点由 nginx 和 rails 提供服务,我在日志中没有发现任何错误。目前,我不知道如何解决此问题或可能是什么原因。有人对我应该如何进一步解决此问题有建议吗?

【问题讨论】:

标签: ruby-on-rails ssl iis https seo


【解决方案1】:

我的网站有两个问题:

一个是我将https://domain重定向到https://www.domain 另一个是 IIS SEO Toolkit 不支持 TLSv1.2,而我的 nginx 配置为仅支持 TLSv1.2。因此,我不得不临时注释重定向规则,并使用相应的密码添加 TLSv1 支持,以便抓取网站。

【讨论】:

    猜你喜欢
    • 2011-02-19
    • 1970-01-01
    • 1970-01-01
    • 2011-04-30
    • 2016-03-25
    • 2016-07-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多