VxRail Manager Plugin 4.7.300 in Failed status- how to register correctly with vCenter.

It may happened that VxRail plugin wasn’t loaded into vCenter correctly and it’s in ‘Failed’ status. In my case the error was:

Error downloading plug-in. Make sure that the URL is reachable and the registered thumbprint is correct. sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)

In /var/log/mystic/connectors-cluster.log on VxRail Manager some issues with Server Certificate chain:

2020-02-27T04:51:08.838+0000 ERROR [myScheduler-1] com.vce.commons.core.connection.services.ConnectionFactoryImpl ConnectionFactoryImpl.createVCConnection:106 – unable to connect to VC
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No allowed thumbprint in certificate chain!
at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:131) ~[jaxws-rt-2.2.10.jar:2.2.10]

All you need to do is to unregister and register VxRail manager Plugin back with vCenter using ‘register_vxm_plugin_47300.py‘ script.

You can find this py script here.

Just copy py script to SDDC Manager and run: