Improve issue/errors feedback while validating X509 signed commits
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=523435) </details> <!--IssueSummary end--> I would like to submit a request to improve the visual feedback when a Issue handling the commits which are X509 signed. ## Problem GitLab(self-hosted) was in loop trying to validate the commit on the project main page. ![image](/uploads/650cdcab5767dd2486ba125fddac3cd1/image.png){width=944 height=254} When checking the commit history I got this loop on the commit, plus a error message: ![image](/uploads/d48105c1ace2baeb1ae7597ddea06c80/image.png){width=944 height=165} Since I am the instance admin I tried check is the `Admin >> Settings >> Network >> Outbound Request` was changed, but was okay. Then I did a [throubleshooting](https://docs.gitlab.co.jp/ee/user/project/repository/x509_signed_commits/#troubleshooting) and I found the certificate created recently was missing the email(RFC822) entry on `subjectAltName`. This an Issue with my employer but I was hopping GitLab could inform the commit as insecure/unverified or something else. ## Requested Solution I would like when signing with X509, and the required steps can't be satisfied, the badge which show `verified` could visual inform a `!` which when I click on it, show a text with information why it didn't certified the commit, in my specific case, could say `the signing certificate email used didn't match with the verified email address on GitLab`. Also it could link the url used for throubleshooting.
issue