/var/log/vmware/vcf/operationsmanager/operationsmanager.log
YYYY-MM-DD HH:MM:SS ERROR [vcf_om,xxxxxxxxxxxxxxxx,xxxx] [c.v.v.c.vc.VCenterCertificatePlugin,om-exec-28] Unable to generate csr for resource: vcsa.domain.com
YYYY-MM-DD HH:MM:SS DEBUG [vcf_om,xxxxxxxxxxxxxxxx,xxxx] [c.v.v.c.s.f.i.CertificateOperationsFacadeImpl,http-nio-127.0.0.1-7300-exec-4] DomainCertificateOperation: {"workflowId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","domainName":"xxx-xxx","operationType":"GENERATE_CSR","operationStatus":"FAILED","resourceCertificateOperations":[{"resource":{"hostName":"vcsa.domain.com","resourceType":"vcenter","master":false},"result":{"status":"FAILED","message":"{\"code\":\"CERTIFICATE_CSR_GEN_FAILED\",\"args\":[\"*****\",\"403 Forbidden: \\\"{\\\"type\\\":\\\"com.vmware.vapi.std.errors.unauthorized\\\",\\\"value\\\":{\\\"error_type\\\":\\\"UNAUTHORIZED\\\",\\\"messages\\\":[{\\\"args\\\":[],\\\"default_message\\\":\\\"Insufficient privileges. Contact the Administrator to get the required privileges.\\\",\\\"id\\\":\\\"com.vmware.vapi.authorization.permission.denied\\\"}]}}\\\"\"]}"},"creationTimestamp":1711623667082,"updateTimestamp":1711623669538}],"retryOperation":false}"
YYYY-MM-DD HH:MM:SS [tomcat-exec-6 [] ERROR com.vmware.certificatemanagement.vapi.impl.setup.AuthzPermissionValidator opId=]
User VSPHERE.LOCAL\Administrator who belongs to groups
[vsphere.local\CAAdmins, vsphere.local\Everyone, vsphere.local\SystemConfiguration.SupportUsers, vsphere.local\Users, vsphere.local\Administrators, vsphere.local\SystemConfiguration.Administrators, vsphere.local\SystemConfiguration.ReadOnly, vsphere.local\LicenseService.Administrators, vsphere.local\SystemConfiguration.BashShellAdministrators]
has no required privileges [CertificateManagement.Manage, CertificateManagement.Administer] to invoke API com.vmware.vcenter.certificate_management.vcenter.tls_csr.create"
VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
VMware vCenter Server 7.x
VMware vCenter Server 8.x
dn: cn=VSPHERE.LOCAL%5CAdministrator@false@urn%3Aacl%3Aglobal%3Apermissions,cn=AclModel,cn=VmwAuthz,cn=services,dc=vsphere,dc=local
vmwAuthzPermissionPropagate: TRUE
objectClass: top
objectClass: vmwAuthzAclMap
cn: VSPHERE.LOCAL%5CAdministrator@false@urn%3Aacl%3Aglobal%3Apermissions
nTSecurityDescriptor:: AQAHhBQAAAA0AAAAAAAAAFQAAAABBgAAAAAABxUAAACiJWNDkcJltlrGR9gfqxUZ9AEAAAEGAAAAAAAHFQAAAKIlY0ORwmW2WsZH2B+rFRkgAgAAAgDAAAUAAAAAEygAMwAGIAEGAAAAAAAHFQAAAKIlY0ORwmW2WsZH2B+rFRn0AQAAABMoADMABiABBgAAAAAABxUAAACiJWNDkcJltlrGR9gfqxUZIAIAAAATKAAzAAYgAQYAAAAAAAcVAAAAoiVjQ5HCZbZaxkfYH6sVGQACAAAAEygAMwAGAAEGAAAAAAAHFQAAAKIlY0ORwmW2WsZH2B+rFRkDAgAAABMYADAAAAABAgAAAAAAByAAAACaAgAA
vmwAuthzPermissionRoleId: 1988801850 # <== The ID role attributed to the Administrator
vmwAuthzPrincipalGroup: FALSE
vmwAuthzPrincipalName: VSPHERE.LOCAL\Administrator
vmwAuthzDocUri: urn:acl:global:permissions
vmwAuthzPermissionVersion: 0
vmwAuthzRoleDescription: Administrator user for Content Library
objectClass: top
objectClass: vmwAuthzRole
cn: 1988801850 # <== The ID role of the Content Library administrator
Note: This ID might be different depending on the environment
To resolve the issue remove from the administrator user the wrong entry containing the Content Library Administrator role .
Caution: Before applying the steps below, please take a backup or an offline-snapshot (in powered-off state) of all the vCenter Server Appliances in Linked Mode.
Method 1: Using ldapmodify
Method 2: Using JXplorer