2020-05-05 14:09:43 -04:00
|
|
|
# X.509 signatures **(CORE ONLY)**
|
2020-04-15 02:09:49 -04:00
|
|
|
|
2020-05-18 08:08:08 -04:00
|
|
|
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/122159) in GitLab 12.10.
|
|
|
|
|
2020-05-05 14:09:43 -04:00
|
|
|
When [signing commits with X.509](../user/project/repository/x509_signed_commits/index.md),
|
2020-04-28 02:09:49 -04:00
|
|
|
the trust anchor might change and the signatures stored within the database must be updated.
|
2020-04-15 02:09:49 -04:00
|
|
|
|
2020-05-05 14:09:43 -04:00
|
|
|
## Update all X.509 signatures
|
2020-04-15 02:09:49 -04:00
|
|
|
|
2020-05-05 14:09:43 -04:00
|
|
|
This task loops through all X.509 signed commits and updates their verification based on current
|
2020-04-28 02:09:49 -04:00
|
|
|
certificate store.
|
|
|
|
|
2020-05-05 14:09:43 -04:00
|
|
|
To update all X.509 signatures, run:
|
2020-04-15 02:09:49 -04:00
|
|
|
|
2020-05-18 08:08:08 -04:00
|
|
|
**Omnibus Installations:**
|
2020-04-15 02:09:49 -04:00
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo gitlab-rake gitlab:x509:update_signatures
|
|
|
|
```
|
|
|
|
|
2020-05-18 08:08:08 -04:00
|
|
|
**Source Installations:**
|
2020-04-15 02:09:49 -04:00
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo -u git -H bundle exec rake gitlab:x509:update_signatures RAILS_ENV=production
|
|
|
|
```
|