mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Update configure_https.md
remove serial part in demoCA directory
This commit is contained in:
parent
e55aa47641
commit
374f817924
@ -27,15 +27,8 @@ Otherwise, if you use IP address to connect your registry host, CN can be anythi
|
||||
```
|
||||
3) Generate the certificate of your registry host:
|
||||
|
||||
On Ubuntu, the config file of openssl locates at **/etc/ssl/openssl.cnf**. Refer to openssl document for more information. The default CA directory of openssl is called demoCA. Let's create necessary directories and files:
|
||||
On Ubuntu, the config file of openssl locates at **/etc/ssl/openssl.cnf**. Refer to openssl document for more information. The default CA directory of openssl is called demoCA.
|
||||
|
||||
```
|
||||
mkdir demoCA
|
||||
cd demoCA
|
||||
touch index.txt
|
||||
echo '01' > serial
|
||||
cd ..
|
||||
```
|
||||
If you're using FQDN like **reg.yourdomain.com** to connect your registry host, then run this command to generate the certificate of your registry host:
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user