NetWorker: Modyfikacja wymagań zasad hasła authc_config nie powiodła się z błędem "Error executing command. Awarii: Błąd we/wy na żądanie POST"

Summary: Modyfikacja wymagań zasad authc_config haseł nie powiodła się z błędem "Błąd podczas wykonywania polecenia. Awarii: Błąd we/wy na żądanie POST dla "https://localhost:9090/auth-server/api/v1/sec/authenticate": Certyfikat nie odpowiada żadnej alternatywnej nazwie podmiotu" ...

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

Modyfikacja wymagań zasad authc_config haseł nie powiodła się z błędem
"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"

Polecenie:
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

Plik authc-cli-app.properties serwera NetWorker ma wpis:
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

Zmień wartość admin_service_default_url w pliku authc-cli-app.properties z localhost na FQDN serwera.
 
Uruchom ponownie polecenie authc, aby zmienić minimalną długość znaków w haśle: 
 
Np.: 
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.