This article provides insights on regenerating a 1024-Bit key length SSL certificate to address the issues seen after upgrading to vCenter Server 5.5 Update 1.
Symptoms:
Note: If you are experiencing an error with certificate unknown on Horizon see
SSL certificate "Unknown" for View Composer Server on Horizon Administrator health dashboard.
During the upgrade to vCenter Server 5.5 Update 1, you see a message similar to:
The vCenter certificates are weak and no longer supported with vCenter Server 5.5 Update 1 onward.After the upgrade to vCenter Server 5.5 Update 1, you experience these symptoms:
- Logging in to the vCenter Server using the vSphere Web Client displays an error similar to:
Failed to verify the SSL certificate for one or more vCenter Server systems:https://VC_HOSTNAME:443/sdk
- The Performance Charts tab fails and displays an error similar to:
Perf Charts service experienced an internal error.
- The Host Hardware Status tab for the ESXi host fails and displays an error similar to:
Cannot access the hardware monitoring service.
- The Storage Views tab fails and displays an error similar to:
The server 'VC_HOSTNAME' could not interpret the client's request. (The remote server returned an error: (503) Server Unavailable.)
- In the C:\ProgramData\VMware\Infrastructure\Inventory Service\Logs\ds.log file, you see entries similar to:
<time></time>,755 pool-19-thread-2 ERROR com.vmware.vim.dataservices.provider.VcProvider] Cannot login: com.vmware.vim.vmomi.client.exception.SslException: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain not verified
<time></time>,755 pool-19-thread-2 INFO com.vmware.vim.query.server.provider.impl.ProviderManagerServiceImpl] Cannot connect to provider: com.vmware.vim.query.server.store.exception.UnauthorizedException: not connected
- In the C:\ProgramData\VMware\VMware VirtualCenter\Logs\vws.log file, you seen entries similar to:
<time></time>,927 localhost-startStop-1 INFO com.vmware.vim.vimclient.VimClientFactory] VMODL context has been initialized for CMS
<time></time>,191 localhost-startStop-1 ERROR com.vmware.vim.vimclient.VimClientFactory] Failed VC client creation with exception
com.vmware.vim.vmomi.client.exception.SslException: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain not verified
- In the C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd.log file, you see entries similar to:
<time></time>.084Z [04712 warning 'ProxySvc'] SSL Handshake failed for stream <io_obj p:0x00000000095fdd88, h:2540, <TCP 'xxx.xxx.xxx.xxx:xxx>, <TCP xxx.xxx.xxx.xxx:xxxx>>, error: class Vmacore::Ssl::SSLException(SSL Exception: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown)
- In the stats.log file, you see entries similar to:
tomcat-http--17 WARN org.apache.struts.util.PropertyMessageResources] Resource com/vmware/vim/stats/webui/ApplicationResources_en_US.properties Not Found.
tomcat-http--33 INFO com.vmware.vim.stats.webui.filter.ClientTimezoneFilter] Forward to 'timezone.jsp' to get user time zone via JavaScript.
tomcat-http--34 ERROR com.vmware.vim.stats.webui.filter.ViClientRequestActionSecurity] An error has occurred during security checks. Details: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
com.vmware.vim.stats.webui.SessionException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
at com.vmware.vim.stats.webui.form.SessionContextImpl.<init>(Unknown Source)
at com.vmware.vim.stats.webui.startup.StatsReportInitializer.createSessionContext(Unknown Source)
Note: The default location of the stats.log file is:
Windows 2000 and 2003: C:\%ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\Logs\
Windows 2008 and 2012: C:\%ALLUSERSPROFILE%\VMware\VMware VirtualCenter\Logs\