![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
憑證到期日
如果要顯示金鑰資料庫中的憑證到期日,您可以用 IKEYMAN 金鑰管理公用程式 GUI 或是使用 gskcmd 指令來檢視憑證資訊。
下列範例顯示如何使用 gskcmd 指令來顯示 key.kdb 憑證金鑰檔案中,將於 1825 天(5 年)內到期之所有憑證的有效日期:
<ihsinst>/bin/gskcmd -cert -list all -expiry 1825 -db key.kdb -pw <password>
Certificates in database: key.kdb
VeriSign Class 1 CA Individual Subscriber-Persona Not Validated
Validity
Not Before: Mon May 11 20:00:00 EDT 1998
Not After: Mon May 12 19:59:59 EDT 2008
其中 <password> 是您在建立 key.kdb 金鑰資料庫檔時,所指定的密碼。