[root@monitor ssl.crt]# openssl x509 -in
mail.bob.com.crt -alias -noout
[root@monitor
ssl.crt]#
[root@monitor ssl.crt]# openssl x509
-setalias "certificate of bob" -in my.crt -out my2.crt
[root@monitor
ssl.crt]# openssl x509 -alias -noout -in my2.crt
certificate of bob
[root@monitor ssl.crt]#
[root@monitor ssl.crt]# openssl x509
-text -noout -in my2.crt |grep -i alias
Alias: certificate of
bob
[root@monitor ssl.crt]#
阅读(1339) | 评论(0) | 转发(1) |