NetWorker:修改authc_config密碼原則需求失敗,並顯示錯誤「Error executing command.失敗:POST 要求上的 I/O 錯誤」

Summary: 修改authc_config密碼原則需求失敗,並顯示錯誤 「Error executing command. (錯誤執行命令)。失敗:POST 要求的「HTTPs://localhost:9090/auth-server/api/v1/sec/authenticate」I/O 錯誤:與任何主題替代名稱不符的憑證」

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

修改authc_config密碼原則需求失敗,並顯示錯誤
"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.""

Cause

NetWorker authc 伺服器的 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

Resolution

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

 

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000202728
Article Type: Solution
Last Modified: 02 Mar 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.