mirror of
https://github.com/distribution/distribution.git
synced 2025-09-02 15:36:10 +00:00
Merge pull request #1912 from bbodenmiller/patch-1
improve command formatting
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user