Dell Unity:uemcli 命令失敗,錯誤代碼0x1000100。(使用者可修正)

概要: 本知識庫文章說明錯誤代碼0x1000100及其解決方案的原因。

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

- 使用「-silent」選項執行 uemcli 命令時,會產生錯誤,而非執行的命令。
# uemcli -no -d <xxx.xxx.xxx.xxx> -u admin -p <password> -silent /sys/general show
Unable to validate the specified certificate. (Error Code:0x1000100)

- 在沒有「-silent」選項的情況下執行時,會顯示憑證相關功能表。
在此選取「[2] 拒絕憑證」會產生錯誤訊息。
# uemcli -no -d <xxx.xxx.xxx.xxx> -u admin -p <password> /sys/general show
Remote certificate:
Issuer:     CN=CKM00xxxxxxxxx
Subject:    CN=CKM00xxxxxxxxx
Valid from: 20xx:mm:dd:hh:mm:ss
Valid to:   20xx:mm:dd:hh:mm:ss
Serial:     00xxxxxxxxxxxxxxxxx
Id:         xxxxxxxxxx
Would you like to:
  [1] Accept the certificate for this session
  [2] Reject the certificate
  [3] Accept and store
Please input your selection (The default selection is [1]): 2
Operation failed. Error code: 0x1000100
Unable to validate the specified certificate. (Error Code:0x1000100)

原因

執行 uemcli 命令時,憑證會接受並儲存,資訊就會儲存在執行命令的本機系統的鎖定框中。
在這種情況下,雖然憑證有效,但下次執行 uemcli 命令時,不會要求確認憑證的回應。

但是,如果執行 uemcli 命令時需要確認憑證的對應內容,則使用「無訊息」選項會導致錯誤。

這些情況會在以下情況下發生。
(1) 如果與目前憑證對應的資訊未儲存在執行 uemcli 命令的系統鎖定箱中。
(2) 當 Unity 上的憑證更新為新憑證或到期時。

- 命令檢查儲存在執行 uemcli 命令之系統鎖定箱中的資訊。
(如果 unisphere 用戶端在 Windows 或 linux 上執行,請在該用戶端上執行,如果 uemcli 命令正在 Unity SP 上執行,請在 SP
上檢查。# uemcli -certList

解決方法

如果情況與上述情況相符,以下動作預期會改善情況。

[選項 1:]
在未使用「-silent」選項的情況下手動執行 uemcli 命令,並在詢問您希望憑證如何使用時選取「[3] Accept and store」。

# uemcli /sys/general show
....
您想要:
  [1] 接受此會話
的憑證 [2] 請拒絕憑證
[3] 接受並儲存<<< 選取。
.....

考慮:
如果憑證已過期,[3] 中的功能表不會出現。    請依照以下 KB 更新憑證。


HTTPs://www.dell.com/support/kbdoc/en-us/000022509/dell-emc-unity-how-to-manually-renew-a-unity-management-ssl-certificate-user-corretable 接受並儲存憑證後,在憑證有效時,不會顯示每個命令執行的選擇畫面。

# uemcli -no -d < xxx.xxx.xxx.xxx > -u admin -p < password > /sys/general show
1:    系統名稱 = CKM00xxxxxxxxx
型號 = Unity 300
產品序號 = CKM00xxxxxxxxx
Auto failback = on Health
state = OK (5)

[選項 2:]
將「-sslPolicy accept」選項新增至 uemcli 命令。
執行 uemcli 命令時,此選項會自動接受憑證。

之前:
# uemcli -no -d < xxx.xxx.xxx.xxx > -u admin -p < password > -silent /sys/general show
Unable to validate the specified certificate.(錯誤代碼:0x1000100)

之後:
# uemcli -no -d < xxx.xxx.xxx.xxx > -u admin -p < password > -silent -sslPolicy accept /sys/general show
1:    系統名稱 = CKM00xxxxxxx 型號
= Unity 300
產品序號 = CKM00xxxxxxxxx
自動容錯回復 = 處於
健全狀態 = OK (5)

その他の情報

如需 uemcli 命令的「-sslPolicy」和「-certList」選項說明,請參閱下列內容。

sslPolicy
憑證清單
 

対象製品

Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 350F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 450F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 550F, Dell EMC Unity 600

製品

Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 600F, Dell EMC Unity 650F, Dell EMC Unity XT 680, Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F , Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
文書のプロパティ
文書番号: 000206174
文書の種類: Solution
最終更新: 21 3月 2023
バージョン:  3
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。