Renew the VMware vSphere APIs for Storage Awareness (VASA) storage provider certificate in vCenter using the Refreshed certificate feature before the certificate expires.
If the certificate has expired, follow the steps below to renew the certificate on the PowerStore cluster and update the certificate in vCenter:
Renew the certificate using PowerStore CLI or RestAPI:
PowerStore CLI (PSTCLI)
pstcli -ssl accept -u admin -p <adminPassword> -d <PowerStore-Cluster-IP> x509_certificate reset_certificates -service VASA_HTTP
RestAPI/curl
Run curl
commands from any Linux or recent Windows clients that have the curl utility.
To check run
C:\>curl -V
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://<PowerStore-Cluster-IP>:8443/version.xml User name: admin Password: <admin user password> Clear the Use storage provider certificate option.
After adding the PowerStore VASA provider, check the datastore status.