mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
readme: create SSL certificate that will remain valid for 10 years
This commit is contained in:
parent
7004bb0553
commit
72fe7c601a
@ -469,10 +469,10 @@ openssl req -new -key gitlab.key -out gitlab.csr
|
||||
**STEP 3**: Sign the certificate using the private key and CSR
|
||||
|
||||
```bash
|
||||
openssl x509 -req -days 365 -in gitlab.csr -signkey gitlab.key -out gitlab.crt
|
||||
openssl x509 -req -days 3650 -in gitlab.csr -signkey gitlab.key -out gitlab.crt
|
||||
```
|
||||
|
||||
Congratulations! you have now generated an SSL certificate thats valid for 365 days.
|
||||
Congratulations! you have now generated an SSL certificate that will be valid for 10 years.
|
||||
|
||||
#### Strengthening the server security
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user