summaryrefslogtreecommitdiff
path: root/doc/raketasks/x509_signatures.md
blob: dd518997f7b7d58e046dbab212e65002089702fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# X509 signatures

When [signing commits with x509](../user/project/repository/x509_signed_commits/index.md)
the trust anchor might change and the signatures stored within the database have
to be updated.

## Update all x509 signatures

This task loops through all X509 signed commits and updates their verification
based on current certificate store.

**Omnibus Installation**

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

**Source Installation**

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