mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-31 23:59:32 +01:00
docs(https): update configure_https.md
Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
67ce710757
commit
bafbb05311
@ -11,7 +11,7 @@ In a test or development environment, you may choose to use a self-signed certif
|
|||||||
```
|
```
|
||||||
```
|
```
|
||||||
openssl req -x509 -new -nodes -sha512 -days 3650 \
|
openssl req -x509 -new -nodes -sha512 -days 3650 \
|
||||||
-subj "/C=TW/ST=Taipei/L=Taipei/O=example/OU=Personal/CN=yourdomain.com" \
|
-subj "/C=CN/ST=Beijing/L=Beijing/O=example/OU=Personal/CN=yourdomain.com" \
|
||||||
-key ca.key \
|
-key ca.key \
|
||||||
-out ca.crt
|
-out ca.crt
|
||||||
```
|
```
|
||||||
@ -34,7 +34,7 @@ If you use FQDN like **yourdomain.com** to connect your registry host, then you
|
|||||||
|
|
||||||
```
|
```
|
||||||
openssl req -sha512 -new \
|
openssl req -sha512 -new \
|
||||||
-subj "/C=TW/ST=Taipei/L=Taipei/O=example/OU=Personal/CN=yourdomain.com" \
|
-subj "/C=CN/ST=Beijing/L=Beijing/O=example/OU=Personal/CN=yourdomain.com" \
|
||||||
-key yourdomain.com.key \
|
-key yourdomain.com.key \
|
||||||
-out yourdomain.com.csr
|
-out yourdomain.com.csr
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user