422: The change you requested was rejected when sign commits and tags with x509 certificate

Problem to solve

When i sign commits or tags with my self-signed certificate, i got this errors

  • Commits page error: An error occurred while loading commit signatures
  • Tags page error: “422: The change you requested was rejected”

Steps to reproduce

I did everything according to the instructions in documentation: Sign commits and tags with X.509 certificates | GitLab Docs


Versions

Please add an x whether options apply, and add the version information.

  • Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions

  • GitLab (Web: /help or self-managed system information sudo gitlab-rake gitlab:env:info): 17.10

I’m also seeing this exact same behavior on hosted GitLab.