简体   繁体   English

如何篡改X509格式证书?

[英]How to tamper a X509 format certificate?

I used openssl command line tool to generate a CA signed certificate. 我使用openssl命令行工具生成CA签名证书。 now I need to tamper it to generate the signature mismatch error. 现在我需要篡改它以生成签名不匹配错误。

Is there any tool available to tamper the X509 certificate. 是否有可用于篡改X509证书的工具。

Open certificate file in ASN.1 Editor , find commonName node, right-click it and choose "Edit...": ASN.1编辑器中打开证书文件,找到commonName节点,右键单击它并选择“编辑...”:

在此输入图像描述

Change the text of commonName field: 更改commonName字段的文本:

在此输入图像描述

Hit OK, save your changes and there you are: 点击OK,保存您的更改,您将:

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM