Chinaunix首页 | 论坛 | 博客
  • 博客访问: 542656
  • 博文数量: 375
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 15
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-20 10:21
文章分类

全部博文(375)

文章存档

2015年(1)

2014年(374)

分类: LINUX

2014-08-18 11:26:14

[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]#
阅读(472) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~