惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
A
Arctic Wolf
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
Martin Fowler
Martin Fowler
A
About on SuperTechFans
P
Palo Alto Networks Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog
P
Proofpoint News Feed
D
DataBreaches.Net
Cyberwarzone
Cyberwarzone
T
Tor Project blog
IT之家
IT之家
P
Proofpoint News Feed
Help Net Security
Help Net Security
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CXSECURITY Database RSS Feed - CXSecurity.com
Microsoft Azure Blog
Microsoft Azure Blog
V2EX - 技术
V2EX - 技术
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
N
News and Events Feed by Topic
The Cloudflare Blog
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
T
The Blog of Author Tim Ferriss
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
The Last Watchdog
The Last Watchdog
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LangChain Blog
I
InfoQ
F
Full Disclosure
The Register - Security
The Register - Security
阮一峰的网络日志
阮一峰的网络日志
H
Hacker News: Front Page
V
V2EX

博客园 - 光阴四溅

Gets 403 when calling WCF Service in intranet RESTful WCF returns 400 Bad Request and more 用WIX做MSI包 再见美罗 溜冰 Use ILDASM.exe as an external tool in your VS2008 - 光阴四溅 一个英语在线小词典 -- 使用WPF开发 Long Paths in .NET, Part 2 of 3 [Kim Hamilton][译] Long Paths in .NET, Part 1 of 3 [Kim Hamilton][译] Have a break... You call it love 上火了 上火了 一个VARCHAR和一个NVARCHAR相加 "Atlas" July Community Technology Preview Released -- 安装时出现String cannot have zero length错误 DTS--在变量或是在临时表和表变量中使用Input Global Variables ms真是越来越搞了 当在一个xml doc里面使用一个很大xml doc作为attribute时sp_xml_preparedocument返回Unspecified error 莲花 半夜里在网络上游荡
The request was aborted: Could not create SSL/TLS secure channel.
光阴四溅 · 2012-10-22 · via 博客园 - 光阴四溅

最近项目里面遇到的一个问题: 代码在Test和Dev的Server上都运行的很好, 但是部署到staging或者产品环境后, 在调用一个web service的时候 (使用client certificate)就发现有这个error:

The request was aborted: Could not create SSL/TLS secure channel.
 

打开System.Net trace以后, 可以看到有下面的错误:

Decrypt returned SEC_I_RENEGOTIATE.
AcquireCredentialsHandle() failed with error 0X8009030D.
 

根据这篇文章的说法, 把client端的assembly用.net4重新编译一下, 问题就不再出现了. 以前client端的assembly是.net3.5下编译的.

http://blogs.msdn.com/b/dsnotes/archive/2012/01/10/acquirecredentialshandle-fails-with-sec-e-unknown-credentials-from-a-wcf-application.aspx
 

但是奇怪的是Test和Dev的server上面都是没有问题的.