mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 07:07:42 +01:00
Merge pull request #9549 from heww/update-configure-https
docs(https): update configure_https.md
This commit is contained in:
commit
a612cefc94
@ -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