The VMware vSphere APIs for Storage Awareness (VASA) storage provider certificate can be refreshed in vCenter using the Refresh certificate feature before the certificate expires. If the certificate is allowed to expire before refreshing the certificate, the Refresh feature does not work.
Renew the certificate using PowerStore CLI or RestAPI using the "curl
" command in Windows or Linux:
PowerStore CLI (PSTCLI)
pstcli -ssl accept -u admin -p <adminPassword> -d <PowerStore-Cluster-IP> x509_certificate reset_certificates -service VASA_HTTP
RestAPI/curl
curl -X POST "https://<PowerStore-Cluster-IP>/api/rest/x509_certificate/reset_certificates" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"service\": \"VASA_HTTP\"}" -u admin -k
curl
command does not display any error message if the wrong account password is submitted
Verify the certificate expiration date.
In vSphere, manually remove and add the VASA storage provider.
URL: https://:8443/version.xml User name: admin Password: Clear the Use storage provider certificate option.
After adding the PowerStore VASA provider, check the datastore status. If it has not changed, then one last step to try is going into the PowerStore Manager and disconnecting and reconnecting.