VPLEX: uitvoering security configure-certificate mislukt met de fout "Is a directory"

Summary: In dit artikel wordt de uitvoering van de opdracht "security configure-certificates" beschreven die mislukt met het foutbericht "Is a directory".

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

De security configure-certificate De opdracht wordt uitgevoerd met de volgende fout:

VPlexcli:/> security configure-certificates
 security configure-certificates:  Evaluation of <<security configure-certificates>> failed.
 cause:                            Command execution failed.
 cause:                            21
 cause:                            Is a directory


Fouten in het logboek van de client:

2018-08-08 19:37:37,770 INFO  [Thread-57] service_localhost_T20810: security configure-certificates
2018-08-08 19:37:37,771 INFO  [Thread-57] audit: security configure-certificates
2018-08-08 19:37:37,892 ERROR [DefaultCommandHandler-Thread-3] security configure-certificates: Failed to configure certificates: Validation error: Certificates already present in the system.                    Delete old certificates before configuring the system with                    new certificates.
2018-08-08 19:37:37,967 ERROR [DefaultCommandHandler-Thread-3] ConfigureCertificatesCmd: 21
Traceback (most recent call last):
  File "/opt/emc/VPlex/jython2.7b4/LibExt/yyapi.py", line 322, in _execute
    result = self._execute_(shell,context,args)
  File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 148, in _execute_
    cfgCert.restore()
  File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 241, in restore
    self.cleanup()
  File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 656, in cleanup
    self._deleteFilesInDir(GlobalVals.DEFAULT_CACERT_LOCATION)
  File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 675, in _deleteFilesInDir
    self._removeFile(filePath)
  File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 652, in _removeFile
    os.remove(file)
OSError: [Errno 21] Is a directory: '/etc/ipsec.d/cacerts/save'

Cause

Handmatig maken van een map met de naam save die is gemaakt onder /etc/ipsec.d/cacerts/ interferentie met de controles die nodig zijn voor de vernieuwing van beveiligingscertificaten.

Resolution

Tijdelijke oplossing:

  1. Meld u aan bij de VPLEX Management Server met het service Accountreferenties:
login as: service
Using keyboard-interactive authentication.
Password:
service@vplex01:~>

 

  1. Ga naar de /etc/ipsec.d/cacerts/ pad en zoek naar een map met de naam save:
service@vplex01:~> cd /etc/ipsec.d/cacerts/
service@vplex01:/etc/ipsec.d/cacerts> ll save

 

  1. Verwijder het bestand met de naam save:
service@vplex01:/etc/ipsec.d/cacerts> rm -rf save
  1. Verwijder de oude certificaten voordat u het security configure-certificate commando als volgt:
service@vplex01:~> rm /etc/ipsec.d/*/*pem* 
  1. Ga naar de VPLEXCLI en voer de security configure-certificates Voer de opdracht opnieuw uit en controleer of het goed is gelukt:
VPlexcli:/> security configure-certificates
  1. Als de opdracht nog steeds mislukt, neemt u contact op met de klantenservice van Dell en raadpleegt u dit artikel. 

Affected Products

VPLEX Series

Products

VPLEX Series, VPLEX VS2, VPLEX VS6
Article Properties
Article Number: 000168670
Article Type: Solution
Last Modified: 12 Dec 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.