码迷,mamicode.com
首页 > 其他好文 > 详细

yan证书与秘钥 匹配

时间:2017-03-28 11:41:02      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:x509 秘钥 证书

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

两者输出一致


yan证书与秘钥 匹配

标签:x509 秘钥 证书

原文地址:http://9665476.blog.51cto.com/9655476/1910920

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!