NetWorker:修改authc_config密碼原則需求失敗,並顯示錯誤「Error executing command.失敗:POST 要求上的 I/O 錯誤」
概要: 修改authc_config密碼原則需求失敗,並顯示錯誤 「Error executing command. (錯誤執行命令)。失敗:POST 要求的「HTTPs://localhost:9090/auth-server/api/v1/sec/authenticate」I/O 錯誤:與任何主題替代名稱不符的憑證」
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
現象
修改authc_config密碼原則需求失敗,並顯示錯誤
命令:
Error:
"Error executing command. Failure: I/O error on POST request for "https://localhost:9090/auth-server/api/v1/sec/authenticate": Certificate for doesn't match any of the subject alternative names"
命令:
authc_config -u administrator -p "password" -e add-option -D option-name=PasswordMinLengthCharacters -D option-value=12
Error:
"Error executing command. Failure: I/O error on POST request for "https://localhost:9090/auth-server/api/v1/sec/authenticate": Certificate for doesn't match any of the subject alternative names: []; nested exception is javax.net.ssl.SSLPeerUnverifiedException: Certificate for doesn't match any of the subject alternative names: [] Invalid TrustStore. Try copying key "keystore.password" and its value from authc-server-app.properties to authc-cli-app.properties or providing truststore password(-Djavax.net.ssl.trustStorePassword="Password") as JVM Parameter.""
原因
NetWorker authc 伺服器的 authc-cli-app.properties 檔案有專案:
Linux:/opt/nsr/authc-server/conf/authc-cli-app.properties
Windows:..\Program Files\EMC NetWorker\nsr\authc-server\conf\authc-cli-app.properties
authc_config -u administrator -p "password" -e add-option -D option-name=PasswordMinLengthCharacters -D option-value=12
Linux:/opt/nsr/authc-server/conf/authc-cli-app.properties
Windows:..\Program Files\EMC NetWorker\nsr\authc-server\conf\authc-cli-app.properties
解決方法
將authc-cli-app.properties檔案中的admin_service_default_url值從localhost變更為伺服器的 FQDN。
重新執行 authc 命令,以變更密碼最小字元長度:
例如:
authc_config -u administrator -p "password" -e add-option -D option-name=PasswordMinLengthCharacters -D option-value=12
対象製品
NetWorker製品
NetWorker文書のプロパティ
文書番号: 000202728
文書の種類: Solution
最終更新: 02 3月 2023
バージョン: 3
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。