NetWorker: Ændring af authc_config krav til adgangskodepolitik mislykkes med fejlen "Fejl under udførelse af kommando. Fiasko: I/O-fejl på POST-anmodning"
Summary: Ændring af authc_config krav til adgangskodepolitik mislykkes med fejl "Fejl under udførelse af kommando. Fiasko: I/O-fejl på POST-anmodning for "https://localhost:9090/auth-server/api/v1/sec/authenticate": Certifikat til stemmer ikke overens med nogen af de alternative navne på emnet" ...
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
Ændring af authc_config krav til adgangskodepolitik mislykkes med fejl
Kommando:
Fejl:
"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"
Kommando:
authc_config -u administrator -p "password" -e add-option -D option-name=PasswordMinLengthCharacters -D option-value=12
Fejl:
"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-serverens authc-cli-app.properties-fil har post:
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
Resolution
Skift værdien af admin_service_default_url i filen authc-cli-app.properties fra localhost til serverens FQDN.
Kør authc-kommandoen igen for at ændre adgangskodens minimale tegnlængde:
F.eks:
authc_config -u administrator -p "password" -e add-option -D option-name=PasswordMinLengthCharacters -D option-value=12
Affected Products
NetWorkerProducts
NetWorkerArticle 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.