一、简介

crl命令用于处里PME或DER格式的CRL文件

二、语法

openssl  crl [-inform PEM|DER] [-outform PEM|DER] [-text] [-in filename] [-out filename] [-hash] [-fingerprint] [-issuer ] [-lastupdate ] [-nextupdate ] [-crlnumber] [-noout ] [-CAfile file ] [-CApath dir ] [-nameopt arg] [-verify]

选项

-inform arg     - input format - default PEM (DER or PEM)
-outform arg - output format - default PEM
-text - print out a text format version
-in arg - input file - default stdin
-out arg - output file - default stdout
-hash - print hash value
-fingerprint - print the crl fingerprint
-issuer - print issuer DN
-lastupdate - lastUpdate field
-nextupdate - nextUpdate field
-crlnumber - print CRL number
-noout - no CRL output
-CAfile name - verify CRL using certificates in file "name"
-CApath dir - verify CRL using certificates in "dir"
-nameopt arg - various certificate name options

三、实例

1、验证CRL

openssl crl -in crl.crl  -CAfile demoCA/cacert.pem -noout

2、PEM格式的CRL文件转换为DER格式

openssl crl -in crl.crl -outform DER -out crl.der

3、查看CRL信息

openssl crl -in crl.crl -text -issuer -hash -lastupdate -nextupdate

最新文章

  1. Ubuntu下不重装系统安装SSD总结
  2. Sprint第二个冲刺(第十一天)
  3. How ADB works
  4. [IR] Index Construction
  5. 搭建SSH入过的那些坑
  6. 深入学习:如何实现不同Android设备之间相同应用程序的网络服务发现功能
  7. C#笔记1:异常
  8. Homework3
  9. Swift - 多线程实现方式(2) - NSOperation和NSOperationQueue
  10. poj1260
  11. c# windows服务 一个项目安装多个服务
  12. 剑指Offer-求1+2+3+...+n
  13. 阿森纳vs托特纳姆热刺
  14. Oracle_高级功能(8) 事务和锁
  15. maven mirror , profile , snapshot 和release
  16. root用户Linux 环境变量的配置解决(-bash: jps: command not found)有关问题
  17. 【CF908E】New Year and Entity Enumeration 位运算+DP
  18. django 创建数据库表 命令
  19. python中的rabbitmq
  20. Java高级架构师(一)第13节:Spring MVC实现Web层开发

热门文章

  1. Sublime + python2.7 + opencv (轻量级开发环境)
  2. C++使用回溯法实现N皇后问题的求解
  3. linux下mysql提示"mysql deamon failed to start"错误的解决方法
  4. Django 的ORM
  5. 前段基础之HTML
  6. spring aop实现拦截接口请求打印日志
  7. selenium+python+pycharm环境搭建
  8. ecshop if多条件语句写法
  9. 爬虫——回顾HTTP 协议
  10. (转存 作者未知)深入理解HTML协议