This article provides information to resolve the certificate issue for vVols after vCenter changes or CA certificate changes. After moving a Host to another vCenter Server or after refreshing CA Certificate, you experience these symptoms:
syncError or Offline[YYYY-MM-DDTHH:MM] warning vvold[4AC####] [Originator@6876 sub=Default] VasaSession::GetEndPoint: failed to get endpoint, err=SSL Exception: Verification parameters:
--> PeerThumbprint: ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:E4:85:48:F8
--> ExpectedThumbprint:
--> ExpectedPeerName: <VASA Provider IP address>
--> The remote host certificate has these problems:
-->
--> * unable to get local issuer certificate, using default
[YYYY-MM-DDTHH:MM] info vvold[47B1B70] [Originator@6876 sub=Default] VasaSession::Initialize url is empty
[YYYY-MM-DDTHH:MM] warning vvold[47B1B70] [Originator@6876 sub=Default] VasaSession::DoSetContext: Empty VP URL for VP (xVP)!
[YYYY-MM-DDTHH:MM] info vvold[47B1B70] [Originator@6876 sub=Default] Initialize: Failed to establish connection https://<VASA Provider IP address>:8443/vasa/version.xml
[YYYY-MM-DDTHH:MM] error vvold[47B1B70] [Originator@6876 sub=Default] Initialize: Unable to init session to VP xVP state: 0
[YYYY-MM-DDTHH:MM] info vvold[4770B70] [Originator@6876 sub=Default] VVolUnbindManager::UnbindIdleVVols called
[YYYY-MM-DDTHH:MM] info vvold[4770B70] [Originator@6876 sub=Default] VVolUnbindManager::UnbindIdleVVols done for 0 VVols
[YYYY-MM-DDTHH:MM] info vvold[5ACBB70] [Originator@6876 sub=Default] Came to SI::GetVvolContainer: container <container-GUID>
[YYYY-MM-DDTHH:MM] info vvold[5ACBB70] [Originator@6876 sub=Default] SI:GetVvolContainer successful for Datastore, id=, maxVVol=0 MB
esxcli storage vvol storagecontainer list returns result similar to:Datastore
StorageContainer Name: Datastore
UUID: vvol:xxxxxxxxxxxxxxxx-xxxxxxxxxxxx73602
Array: com.vmware.vim:xxxxxxxx3e06-1000000
Size(MB): 0
Free(MB): 0
Accessible: true
Default Policy:
esxcli storage vvol vasaprovider list returns any of these similar outputs:Output#1
xVP VP Name: xVP URL:https://<VASA Provider IP address>:8443/vasa/version.xml Status: syncError Arrays: Array Id: com.vmware.vim:xxxxxxxx3e06-1000000 Is Active: true Priority: 0
Output#2PowerStore VASA provider - PERS VP Name: PowerStore VASA provider - PERS URL: https://xx.xx.xx.xx:8443/version.xmlStatus: Offline: AuthenticationError [SSL_ERROR_SSL error:0A000086:SSL routines::certificate verify failed unable to get local issuer certificate / SSL/TLS handshake failed]
VMware vSphere ESXi
VMware vCenter Server
If issue is seen after VMCA signed CA certificate update in vCenter server, try the below steps:
vSphere UI: Right-click Host > Certificates > Refresh CA Certificates.
vSphere UI: Right-click Host > Certificates > Renew Certificate.
Host CLI (Mandatory): SSH into the host and run the command :
/etc/init.d/vvold ssl_reset && /etc/init.d/vvold restartUI: Right-click Host > Storage > Rescan Storage.
If issue is seen after custom certificate update in vCenter server or ESXi host, try the below steps:
Manual steps to reset the vVold SSL certificate (If above steps do not resolve the issue):
/etc/init.d/vvold ssl_reset && /etc/init.d/vvold restarttail -f /var/log/vvold.log/etc/vmware/ssl.mv rui.crt orig.rui.crtmv rui.key orig.rui.key/sbin/generate-certificates to generate new certificates.ls -l and comparing the time stamps of the new certificate files with orig.rui.crt and orig.rui.key.ls -l to ensure the date changed on the castore.pem file. tail -f /var/log/vvold.logIf you see errors, update the vCenter Server TRUSTED_ROOTS store.
14. Disconnect and reconnect the ESXi host to the vCenter Server to resolve a mismatched SSL thumbprint in vCenter Server compared to the ESXi host.
15. Run tail -f /var/log/vvold.log. to verify the error is no longer seen.
The expected output should be as below:[YYYY-MM-DDTHH:MM] info vvold[8355B70] [Originator@6876 sub=default] SI:GetVvolVontainer successful for DataStoreName, id= maxVVol=0 MB ...