summaryrefslogtreecommitdiff
path: root/doc/raketasks/x509_signatures.md
blob: 438e28361fa261a0612c284a22c3a6aeb586d709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 must be updated.

## Update all x509 signatures

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

To update all x509 signatures, run:

**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
```