問題
最近同事將一台 Server 設定停用 TLS 1.0, TLS 1.1 後,
ASP.NET 4.X 的程式呼叫 Https 的 Web Service 會噴出 用戶端和伺服器無法溝通,因為它們沒有公用的演算法。 的錯誤。
解法
後來在程式中設定強迫走 TLS 1.2 就可以正常運行。
1 | ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; |
Hello! 我是 RM
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true