Vcenter server is not responding - Reason: Connection and/or inventory update failure - (12)login failed, VI SDK invoke exception - Certificates does not conform to algorithm constraints
search cancel

Vcenter server is not responding - Reason: Connection and/or inventory update failure - (12)login failed, VI SDK invoke exception - Certificates does not conform to algorithm constraints

book

Article ID: 35077

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

When trying to connect or test with the appropriate credentials I get :
 
(12)login failed, VMWare API is unavailable: VI SDK invoke exception:javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
This came while the customer performed a Vmotion action using the VSphere client.





 

 

Environment

Release:
Component: UIMVMW

Resolution

 Information about this error was found in https://communities.vmware.com/thread/481316 , a thread about connecting to vCenter servers in combination with this error.
 
"The issue has been resolved. It was due to our vCenter server having a 512-bit SSL on it (was a previous upgrade from 4.0). "
 
In order to do that, java.security file should be modified. This file is located at c:\Program Files x86\Nimsoft\jre\jre7\lib\security\java.security, which is the JRE_Home for Nimsoft.
 
Changing value from 1024 to 512 in line "jdk.certpath.disabledAlgoritms=MD2, RSA keysize < 1024" resolved the issue.