When attempting to integrate a vTPM into a virtual machine, an error occurs in the GUI stating "Key creation failed on key provider <Key Provider Name> with error code QLC_ERR_NO_BATCH_COUNT."
VMware vCenter Server 7.x
When editing a KMS cluster that uses certificate client authentication, it's possible the web browser will set a username and password authentication method instead when clicking save.
The vendor's KMS logs may display a error similar to the following "Certificate user must match username in Authentication request" (This will be different per vendor.)
Clear the invalid username to allow the client certificate to be used.
/opt/vmware/vpostgres/current/bin/psql -U postgres VCDBupdate vpx_crypto_server set user_name = '';