VPLEX: Spuštění příkazu security configure-certificate se nezdaří s chybou "Je adresář".
Summary: Tento článek podrobně popisuje spuštění příkazu "security configure-certificates", které selže s chybovou zprávou "Je adresář".
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
Skript security configure-certificate Spuštění příkazu selže s následující chybou:
VPlexcli:/> security configure-certificates
security configure-certificates: Evaluation of <<security configure-certificates>> failed.
cause: Command execution failed.
cause: 21
cause: Is a directory
Chyby v protokolu klienta:
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
Ruční vytvoření složky s názvem save která byla vytvořena v rámci /etc/ipsec.d/cacerts/ narušil kontroly vyžadované pro obnovení bezpečnostních certifikátů.
Resolution
Zástupné řešení:
- Přihlaste se k serveru VPLEX Management Server pomocí
servicePřihlašovací údaje k účtu:
login as: service
Using keyboard-interactive authentication.
Password:
service@vplex01:~>
- Jděte na
/etc/ipsec.d/cacerts/cestu a vyhledejte složku s názvemsave:
service@vplex01:~> cd /etc/ipsec.d/cacerts/
service@vplex01:/etc/ipsec.d/cacerts> ll save
- Smažte soubor s názvem
save:
service@vplex01:/etc/ipsec.d/cacerts> rm -rf save
- Před spuštěním příkazu odstraňte staré certifikáty.
security configure-certificatenásledujícím příkazem:
service@vplex01:~> rm /etc/ipsec.d/*/*pem*
- Přejděte do rozhraní VPLEXCLI a spusťte
security configure-certificatesSpusťte znovu příkaz a zkontrolujte, zda proběhl úspěšně:
VPlexcli:/> security configure-certificates
- Pokud příkaz stále selže, obraťte se na zákaznickou podporu společnosti Dell a přečtěte si tento článek.
Affected Products
VPLEX SeriesProducts
VPLEX Series, VPLEX VS2, VPLEX VS6Article 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.