1.证书工具
(1)查看当前证书属于哪个用户
openssl x509 -in config/msp/signcerts/cert.pem -noout -subject
(2)打印证书的过期时间
openssl x509 -in signed.crt -noout -dates
(3)打印出证书的内容
openssl x509 -in cert.pem -noout -text
(4)打印出证书的系列号
openssl x509 -in cert.pem -noout -serial
(5)打印出证书的拥有者名字
openssl x509 -in cert.pem -noout -subject
(6)以RFC2253规定的格式打印出证书的拥有者名字
openssl x509 -in cert.pem -noout -subject -nameopt RFC2253