NetWorker:修改authc_config密码策略要求失败,并显示错误“Error executing command.失败:开机自检请求时出现 I/O 错误”

Summary: 修改authc_config密码策略要求失败,并显示错误 “Error executing command.失败:“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 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.