Commit d4b4a052 authored by Jason Plum's avatar Jason Plum

Merge branch '1100-increase-cert-expiration' into 'master'

Increase the life span of Registry certificate

Closes #1100

See merge request charts/gitlab!701
parents e557b49d 31fc8766
Pipeline #49501390 passed with stages
in 30 minutes and 56 seconds
---
title: Set the life span of Registry certificate to 10 years
merge_request: 701
author:
type: fixed
......@@ -55,7 +55,7 @@ generate_secret_if_needed {{ template "gitlab.gitlab-runner.registrationToken.se
# Registry certificates
mkdir -p certs
openssl req -new -newkey rsa:4096 -subj "/CN=gitlab-issuer" -nodes -x509 -keyout certs/registry-example-com.key -out certs/registry-example-com.crt
openssl req -new -newkey rsa:4096 -subj "/CN=gitlab-issuer" -nodes -x509 -keyout certs/registry-example-com.key -out certs/registry-example-com.crt -days 3650
generate_secret_if_needed {{ template "gitlab.registry.certificate.secret" . }} --from-file=registry-auth.key=certs/registry-example-com.key --from-file=registry-auth.crt=certs/registry-example-com.crt
# config/secrets.yaml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment