将X.509证书从十六进制格式转换为.cer格式 [英] Convert X.509 certificate from hex form to .cer format

查看:1430
本文介绍了将X.509证书从十六进制格式转换为.cer格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将X.509证书从十六进制转储格式转换为.CER格式?此外,应该首先从十六进制转储中删除空白分隔符?感谢。

How to convert X.509 certificate from a hex-dump form to .CER format? Additionally, should be blank space separators removed from hex dump first? Thanks.

推荐答案

您可以使用 ASN.1编辑器。它有一个数据转换器,将HEX转换为PEM格式的数据。

You could use ASN.1 editor. It has a data converter that will convert HEX to PEM format of data. the source is also available so if you need to use it in code you can look how it is done.

或者你可以使用命令

certutil -decodehex c:\cert.hex c:\cert.cer

这篇关于将X.509证书从十六进制格式转换为.cer格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆