# X.509 signatures

> 原文：[https://docs.gitlab.com/ee/raketasks/x509_signatures.html](https://docs.gitlab.com/ee/raketasks/x509_signatures.html)

*   [Update all X.509 signatures](#update-all-x509-signatures)

# X.509 signatures[](#x509-signatures-core-only "Permalink")

在 GitLab 12.10 中[引入](https://gitlab.com/gitlab-org/gitlab/-/issues/122159) .

[使用 X.509](../user/project/repository/x509_signed_commits/index.html)对[提交进行签名时](../user/project/repository/x509_signed_commits/index.html) ，信任锚可能会更改，并且必须更新数据库中存储的签名.

## Update all X.509 signatures[](#update-all-x509-signatures "Permalink")

此任务遍历所有 X.509 签名的提交，并根据当前证书存储更新其验证.

要更新所有 X.509 签名，请运行：

**所有安装：**

```
sudo gitlab-rake gitlab:x509:update_signatures 
```

**源安装：**

```
sudo -u git -H bundle exec rake gitlab:x509:update_signatures RAILS_ENV=production 
```