mirror of https://github.com/docker/docs.git
Merge pull request #12266 from novakivanovski/patch-1
Self-signed certificate with Kubernetes fix
This commit is contained in:
commit
6a90c2b474
|
@ -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 New Issue