2020-04-15 06:09:49 +00:00
|
|
|
# X509 signatures
|
|
|
|
|
2020-04-28 06:09:49 +00:00
|
|
|
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.
|
2020-04-15 06:09:49 +00:00
|
|
|
|
|
|
|
## Update all x509 signatures
|
|
|
|
|
2020-04-28 06:09:49 +00:00
|
|
|
This task loops through all X509 signed commits and updates their verification based on current
|
|
|
|
certificate store.
|
|
|
|
|
|
|
|
To update all x509 signatures, run:
|
2020-04-15 06:09:49 +00:00
|
|
|
|
|
|
|
**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
|
|
|
|
```
|