forked from TrueCloudLab/distribution
improve command formatting
Signed-off-by: Ben Bodenmiller <bbodenmiller@hotmail.com>
This commit is contained in:
parent
010e063270
commit
1f248a80a6
1 changed files with 2 additions and 0 deletions
|
@ -57,9 +57,11 @@ 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