您的位置:首页 > 其它

yan证书与秘钥 匹配

2017-03-27 21:44 239 查看

Openssl: make sure your certificate matches the private key

To make sure the files tally, display the modulus value of each file:
openssl rsa -noout -modulus -in FILE.key
openssl req -noout -modulus -in FILE.csr
openssl x509 -noout -modulus -in FILE.cer
If everything matches (same modulus), the files are compatible. If not, One of the file is not linked to the others.

上述的值 输出一样 就是匹配的如 openssl rsa -noout -modulus -in expamle.com.key
openssl x509 -noout -moduls -in expamle.com.crt
两者输出一致
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  x509 证书 秘钥