528.md 998 字节
Newer Older
Lab机器人's avatar
readme  
Lab机器人 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# 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 
```