Merge pull request #12266 from novakivanovski/patch-1

Self-signed certificate with Kubernetes fix
This commit is contained in:
Usha Mandya 2021-04-27 10:36:41 +01:00 committed by GitHub
commit fe4fad3bff

View file

@ -68,6 +68,7 @@ This is more secure than the insecure registry solution.
$ openssl req \ $ openssl req \
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \ -newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
-addext "subjectAltName = DNS:myregistry.domain.com" \
-x509 -days 365 -out certs/domain.crt -x509 -days 365 -out certs/domain.crt
``` ```