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 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 檔案有專案:
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 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.