Unisphere: "Ocorreu um erro ao tentar recuperar o certificado do ESXi: abc"
Summary: O seguinte erro é visto ao registrar o ESXi vCenter Server xyz.abc.local no Unisphere for PowerMax 9.1.0.18: "Ocorreu um erro ao tentar recuperar o certificado para ESXi:xyz.abc.local Um certificado assinado pela CA confiável está sendo usado. Um certificado assinado pela CA confiável está sendo usado. ...
Symptoms
O seguinte erro é visto ao registrar o ESXi vCenter Server xyz.abc.local no Unisphere for PowerMax 9.1.0.18: :
"An error occurred while attempting to retrieve the certificate for ESXi:xyz.abc.local Error:com.emc.em.smc.VirtualIntegration.exceptions.VmWareException: Failed to retrieve the issuer certificate for ESXi: xyz.abc.local Please check that the CA certificate exists on the ESXi/vCenter Server."
- Um certificado assinado pela CA confiável está sendo usado.
- O FQDN e o endereço IP do ESXi vCenter Server respondem aos pings com sucesso.
Nslookupresolve o FQDN do servidor para o endereço IP correto.- Usar o IP em vez do FQDN gera o mesmo erro.
- Uma conexão OpenSSL com o FQDN usando a porta 443 é bem-sucedida.
- O TLSv1.2 está sendo usado.
- A verificação no vSphere Client mostra que o certificado CA está presente no ESXi vCenter Server como um certificado de cadeia de três partes.
Os seguintes erros podem ser encontrados no SMAS.log:
WARN [em.smc.SMC] (default task-48) ManageServerService.getVMwareSystemDetails: Couldn't find a certificate for vCenter/ESXi server details. User has not accepted it ERROR [em.smc.COMMAND] (default task-48) VirtualServerAndVmCommandProcessor.registerVCenterServer: No Certificate found for vCenter/ESXi Server. ERROR [em.smc.SMC] (default task-17) com.emc.em.smc.VirtualIntegration.VirtualDeviceService.obtainCertificate(): Exception Creating Certificate Trust Issuer for: xyz.abc.local ERROR [em.smc.SMC] (default task-17) com.emc.em.smc.VirtualIntegration.VirtualDeviceService.obtainCertificate(): An Error occurred while attempting to retrieve the Certificate for ESXi: xyz.abc.local Error : com.emc.em.smc.VirtualIntegration.exceptions.VmWareException: Failed to retrieve the issuer certificate for ESXi: xyz.abc.local Please Check the CA Certificate exists on the ESXi/vCenter Server [em.smc.COMMAND] (default task-17) VirtualServerAndVmCommandProcessor.registerVCenterServer: An Error occurred while attempting to retrieve the Certificate for ESXi: xyz.abc.local Error: com.emc.em.smc.VirtualIntegration.exceptions.VmWareException: Failed to retrieve the issuer certificate for ESXi: xyz.abc.local Please Check the CA Certificate exists on the ESXi/vCenter Server
Cause
O erro indica que a parte VMware do Unisphere não pode se conectar ao certificado ESXi. Ele não está relacionado ao certificado do Unisphere.
Resolution
O VMware ViClient lida com a cadeia de certificados. O Unisphere transmite a localização do certificado .pem para o VMware, portanto, há um problema na lógica do certificado em que mais de x (por exemplo, dois) certificados na cadeia de confiança não são compatíveis.
Os certificados ESXi podem não estar configurados corretamente.
Há também um aprimoramento para o manuseio de certificados no Unisphere em relação ao comprimento da cadeia de certificados. Uma correção está planejada para o pacote eletrônico de segurança do 3º trimestre de 2022. Entre em contato com o suporte Dell para obter mais detalhes.