当前位置:网站首页>WCF -- realize the service with authentication and common error reporting
WCF -- realize the service with authentication and common error reporting
2022-07-19 16:50:00 【LtMamba】
One 、 Learning materials
Two 、 Common mistakes
Certificate problem
Error details :It is likely that certificate 'CN=MyService' may not have a private key that is capable of key exchange or the process may not have access rights for the private key. Please see inner exception for detail.
This error is due to the certificate used
MyService
The private key generated during creation is not on the computer that reported the error or does not have access rights .
It can be done byFindPrivateKey.exe
The tool checks whether there is a private key corresponding to the certificate .
Tools download link
Run and compile after downloading , And then use bin In the catalogFindPrivateKey.exe
Execute the following command :
Link to the official reference document of grammar.\FindPrivateKey.exe TrustedPeople LocalMachine -n "CN=ist.cpie.cnooc" -a
terms of settlement :
Generate a certificate on the computer that reported an error , And then replace it with , Just start again .
Build certificate tool :makecert.exe
Tool Links
Generate certificate command :.\makecert.exe -r -pe -n "CN=NewService" -ss TrustedPeople -sr LocalMachine -sky exchange
边栏推荐
猜你喜欢
5.在项目中集成elenment-plus
[unity3d] dropdown of ugui
边际效用递减规律,真用起来,还挺多坑
System information function of MySQL function summary
[cloud native] 3.6 ruoyi cloud deployment practice (medium)
About the problem of escape characters in remote command execution Using SSH command
UVA10341 Solve It
Vs2019 list control control self drawing routine inherits CListCtrl class onnmcustomdraw redrawing
关于df命令由于设备名太长自动换行的问题
Yolov7: how to export the correct onnx based on your own training model
随机推荐
面试快速复习(二):交叉熵为什么有用
TCP 通信流程
The record cannot be copied and pasted after being started with mremoting software
Demo using go JSON path
array.groupBy,对数组进行分类
虚拟机Centos搭建MySQL集群——一主多从
4273. Linked list merging (day 64)
call,apply,bind的实现
5.在项目中集成elenment-plus
Want to self-study software testing? Ruthless ridicule.
array. Groupby, which classifies arrays
Rsync data synchronization script
StarRocks 成都见!企业如何打造极速统一的数据分析新范式,助力业务全方位升级
Ribbon modify the default load balancing policy
302 周赛3 6121. 裁剪数字后查询第 K 小的数字 排序 6122. 使数组可以被整除的最少删除次数 数学
越权 漏洞
向数据库表中插入中文数据报错“1366 (HY000): Incorrect string value: ‘\xE5\x90\x95\xE5‘ for column ‘name‘ at row 1“
Today's headline -jsvmp signature parameter
467-82(15、33、103、82)
手把手教你玩转 StarRocks,超详细教程它来了!