Go to main content

Oracle® ZFS Storage Appliance 管理指南,发行版 OS8.8.0

退出打印视图

更新时间: 2018 年 11 月
 
 

查看 CSR 和证书详细信息 (CLI)

要查看 CSR 和证书详细信息,请使用以下步骤。

  1. 要查看所有证书条目,请转到 configuration settings certificates system 上下文,并输入 show 命令。
    hostname:configuration settings certificates system> show
    Properties:
                    default = auto
    System Certificates:
    CERT     TYPE SUBJECT                   ISSUER                    EXPIRES   
    cert-000 req  hostname.us.example.com     
    cert-001 CA   Joe Test CA              Joe Test CA               2038-1-19
    cert-002 cert hostname.us.example.com  Joe Test CA               2038-1-21
  2. 要查看 CSR 或证书的详细信息,请使用以下命令。
    hostname:configuration settings certificates system> select cert-000
    hostname:configuration settings certificates system cert-000> show
    Properties:
                             uuid = 195071da-66ac-43a6-edfa-bbbd7451f1d5
               subject_commonname = hostname.us.example.com
                issuer_commonname = Joe Test CA
                              dns = hostname.us.example.com
                               ip = 192.0.2.1
                          comment = test certificate
                        notbefore = 2014-12-4 00:31:33
                         notafter = 2038-01-19 00:31:33
                  sha1fingerprint = 81:A2:4B:C4:06:A9:14:1E:3E:0B:8A:70:FB:1A:30:45:2D:93:DD:02
                   md5fingerprint = B7:B2:F4:3B:BB:04:8E:11:A2:64:3D:69:BF:8A:79:CC
    hostname:configuration settings certificates system cert-000> done