War*_*rok 4 certificate openssl
我已经在DER
encodig 中导出了我的证书(扩展名为 .cer)。有没有办法在Base-64
编码中转换这些证书(具有相同的扩展名)?谢谢
由于您的问题有openssl
标签,您应该使用:
openssl x509 -inform der -in infile.cer -out outfile.cer
Run Code Online (Sandbox Code Playgroud)
在相反的方向:
openssl x509 -outform der -in infile.cer -out outfile.cer
Run Code Online (Sandbox Code Playgroud)
小智 4
要将 DER 转换为 base64,您可以使用certutil:
certutil -encode filename.cer newfilename.cer
Run Code Online (Sandbox Code Playgroud)
从 base64 到 DER,您可以使用:
certutil -decode filename.cer newfilename.cer
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
8517 次 |
最近记录: |