improve formatting on insecure registry openssl command (#873)
This commit is contained in:
parent
5e61498792
commit
5a2e1bf613
1 changed files with 3 additions and 3 deletions
|
@ -50,9 +50,9 @@ This is more secure than the insecure registry solution. You must configure eve
|
||||||
|
|
||||||
1. Generate your own certificate:
|
1. Generate your own certificate:
|
||||||
|
|
||||||
mkdir -p certs && openssl req \
|
mkdir -p certs && openssl req \
|
||||||
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
|
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
|
||||||
-x509 -days 365 -out certs/domain.crt
|
-x509 -days 365 -out certs/domain.crt
|
||||||
|
|
||||||
2. Be sure to use the name `myregistrydomain.com` as a CN.
|
2. Be sure to use the name `myregistrydomain.com` as a CN.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue