the VMware Workstation does not provide a program or script to generate a new pair of key and selfsigned certificate.
If’ve written a batch file which builds a new one. The scripts assumes that the Workstation is installed in the default folder C:\Program Files (x86)\VMware\VMware Workstation and uses the openssl command delivered with the program.
Adjust the Countryname, State, etc. to your own needs. Config is based on the VMware Docs.