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

推荐订阅源

T
Tenable Blog
H
Heimdal Security Blog
K
Kaspersky official blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Schneier on Security
G
GRAHAM CLULEY
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
C
Cisco Blogs
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
Security Archives - TechRepublic
Security Archives - TechRepublic
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
V
Visual Studio Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Jina AI
Jina AI
P
Proofpoint News Feed
P
Proofpoint News Feed
有赞技术团队
有赞技术团队
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 聂微东
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog
IT之家
IT之家
S
Security Affairs
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
N
News | PayPal Newsroom
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
NISL@THU
NISL@THU

博客园 - Terry Sun

Ubuntu安装Java7 SDK Postgres整理 RESTful架构API的设计误区 解决createdb: could not connect to database postgres: FATAL: Peer authentication failed for user &quot;postgres&quot; 如何升级Nginx到最新稳定版 The remote name could not be resolved:&#39;maps.googleapis.com&#39; 的解决办法 关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法 [iOS]黑色状态栏 圆角内容区 No connection could be made because the target machine actively refused it 127.0.0.1:808 的解决办法 Google Map V3--geocode与fitBounds方法的同步操作 ADO.NET Entity Framework--不再查询直接更新数据 解决 The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>) - Terry Sun &lt;转&gt;用HTML判断IE版本 关于Master Page的css和js文件引用问题 ASP.NET Mvc 2.0 - 2. 异步Controller执行流程时序图 [转载]ASP.NET 2.0 中的异步页 ASP.NET Mvc 2.0 - 1. Areas的创建与执行 深入分析 ASP.NET Mvc 1.0 – 4. 使用ModelBinder绑定Action的参数 深入分析 ASP.NET Mvc 1.0 – 3. Controller.Execute(Request)-ActionInvoker.InvokeAction()
安装SSL证书-解决导入证书时的ASN1 bad tag value met错误
Terry Sun · 2011-03-02 · via 博客园 - Terry Sun

VeriSign的证书为例,首先到VeriSign的网站上www.verisign.com上申请30试用的SSL证书

1. 生成CSR(Certificate Signing Request),并生成的CSR提交给VeriSign,申请结束后会收到VeriSign发来的邮件,邮件中包含Trial SSL Certificate

IIS6参考:https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR225

IIS7参考:https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR865

2. 新建一个.txt文件,将邮件中的Trial SSL Certificate存放到.txt文件中,并将扩展名改为.cer

3.将证书导入到IIS中

IIS6参考:https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR233

IIS7参考:https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=SO9071

在IIS7中可能会发生下面的错误:

Error: CertEnroll::CX509Enrollment::p_InstallResponse: ASN1 bad tag value met.0x8009310b installing cert on IIS 7

,这个错误是由在证书生成过程中不匹配private key引起的,通过下面的方法解决它:

解决方案:

1. 在运行中输入mmc,在菜单栏上依次选择 File –> Add/Remove Snap-in

1

2. 在打开的窗口中选择Certificates

2

3. 在上图中点击Add按钮,在打开的对话框中选择Computer account,点击Next按钮

3

4. 在上图中点击Next按钮,在新的对话框中再点击Finish按钮

4

5. 导入证已书如下图:

5

6. 在导入证书的过程中, Certificate store默认为Personal,这里保持不变

6

7. 双击刚刚导入的证书,在弹出的窗口中选择Detail标签,将滚动条拉到最下面选择Thumbprint,记录下面窗口中的值

7

8. 在打命令行窗口(cmd),输入

certutil –repairstore my “00 01 02 03 …”  

注:双引号中输入刚才的Thumbprint值

例:certutil –repairstore my “‎51 51 b8 63 8a 4c 1f 15 54 56 ed 37 c9 10 35 ca d3 01 b9 36”  

运行成功后会出现  CertUtil: -repairstore command completed successfully

通过上面的配置已将SSL证书导入到IIS中,不需要在IIS中再次导入了

参考:

IIS7下SSL证书操作指南

Error: CertEnroll::CX509Enrollment::p_InstallResponse: ASN1 bad tag value met.0x8009310b installing cert on IIS 7

用于对证书进行疑验证解答的 Certutil任务