Go to main content

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

退出打印视图

更新时间: 2018 年 11 月
 
 

销毁 CSR 或证书 (CLI)

要销毁 CSR 或证书,请使用以下步骤。


注 -  销毁 CSR 还会销毁关联的私钥。因此,将无法导入从该 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> destroy cert-002
    Caution: Destroying a certificate issued by a certificate authority also
    destroys the associated private key. Re-importing the certificate will not be possible.
    Destroy appliance certificate? (Y/N) Y