mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
Update how to use your own certificate in harbor.md
edit the file
This commit is contained in:
parent
13e15c5fcc
commit
13161a1722
@ -9,8 +9,10 @@
|
|||||||
```sh
|
```sh
|
||||||
openssl genrsa -out prvtkey.pem 2048
|
openssl genrsa -out prvtkey.pem 2048
|
||||||
```
|
```
|
||||||
|
|
||||||
you can call it prvtkey.pem or other names you like.
|
you can call it prvtkey.pem or other names you like.
|
||||||
|
|
||||||
|
|
||||||
2)Generate a certificate:
|
2)Generate a certificate:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -25,6 +27,7 @@
|
|||||||
|
|
||||||
a.edit docker-compose.yml, find private_key.pem replace it with your own private key as following:
|
a.edit docker-compose.yml, find private_key.pem replace it with your own private key as following:
|
||||||
|
|
||||||
|
|
||||||
![edit docker-compose.yml](img/edit_docker-compose-yml.png)
|
![edit docker-compose.yml](img/edit_docker-compose-yml.png)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user