[英]Verify X509 cert signature with DSA public key
I need to verify a X509 cert signature with a DSA public key. 我需要使用DSA公钥验证X509证书签名。 My cert file is x509.crt and my DSA public key is in a file named dsa_pub.key
我的证书文件是x509.crt,我的DSA公钥在一个名为dsa_pub.key的文件中
I am trying to use openssl for this purpose. 我试图为此目的使用openssl。 I have read the openssl verify documentation but I cant find any reference to DSA within it.
我已经阅读了openssl验证文档,但是在其中找不到对DSA的任何引用。
When I run the following command, I can see my DSA Public Key within the cert: 运行以下命令时,可以在证书中看到我的DSA公钥:
openssl x509 -in cert.crt -text -noout
However, I am hitting a wall when it comes to verifying cert.crt using my DSA public key from the file dsa_pub.key 但是,在使用文件dsa_pub.key中的DSA公钥来验证cert.crt时,我遇到了麻烦
I would appreciate any advice. 我将不胜感激任何建议。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.