unable to authenticate user
User name and password are required"
YYY-MM-DDTHH:MM:SS [44966]DEBUG:vmware.appliance.vapi.auth:Requesting bearer token for '[email protected]'
YYY-MM-DDTHH:MM:SS [44966]ERROR:vmware.appliance.vapi.auth:Could not parse HOK Token
Traceback (most recent call last):
File "/usr/lib/applmgmt/lib/extensions/py/vmware/appliance/extensions/authentication/authentication_sso.py", line 507, in validate
self.validate_certificate()
File "/usr/lib/applmgmt/lib/extensions/py/vmware/appliance/extensions/authentication/authentication_sso.py", line 700, in validate_certificate
'One or more certificates cannot be verified.')
vmware.appliance.extensions.authentication.authentication_sso.AuthenticationError: One or more certificates cannot be verified.
[YYYY-MM-DDTHH:MM:SS tomcat-http--18 vsphere.local ########-####-####-####-############ INFO com.vmware.identity.SsoController] Responded with ERROR 400, message BadRequest, Signing certificate is not valid at <Current Date>, cert validity: TimePeriod [startTime=<Date>, endTime=<Date>] com.vmware.identity.saml.UnsupportedTokenLifetimeException: Signing certificate is not valid at <Current Date>, cert validity: TimePeriod [startTime=<Date>, endTime=<Date>]
[YYYY-MM-DDTHH:MM:SS tomcat-http--29 vsphere.local ########-####-####-####-############ WARN com.vmware.identity.samlservice.SamlValidator.ValidationResult] Encountered status code that is not localized. No message found under code 'BadRequest.Signing certificate is not valid at <Current Date>, cert validity: TimePeriod [startTime=<Date>, endTime=<Date>]' for locale 'en_US'.
7.x
8.x
This could occur due to expired STS certificate or multiple STS certs in STS certificate store due to which STS couldn't phrase the token for the user.
Use the new improved certificate management tool vCert - Scripted vCenter Expired Certificate Replacement for all certificate management/replacement workflow.