forked from TrueCloudLab/distribution
Merge pull request #12266 from novakivanovski/patch-1
Self-signed certificate with Kubernetes fix
This commit is contained in:
commit
fe4fad3bff
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ This is more secure than the insecure registry solution.
|
|||
|
||||
$ openssl req \
|
||||
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
|
||||
-addext "subjectAltName = DNS:myregistry.domain.com" \
|
||||
-x509 -days 365 -out certs/domain.crt
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue