I recently ran in to an issue where i had to re-register my NSX server with vIDM.
The ask was to extract the Thumbprint from vIDM. The command i ran to extract it was:
echo -n | openssl s_client -connect hostname:443 2>/dev/null | openssl x509 -noout -fingerprint -sha256
This can be used across multiple products where the Thumbprint needs to be extracted