fix typo and cert gen script

This commit is contained in:
starbirdtech383
2024-02-09 13:14:24 +05:30
parent 0506c84f0a
commit fc19ab5dc0
3 changed files with 7 additions and 2 deletions

View File

@@ -68,4 +68,4 @@ During installation the default properties are configured at [nc_properties.env]
3. runs docker-compose up -d
## Advanced Operations
Refer [advanced secion](./advanced.md) for advanced operations like setting up ssl, updating configurations, restarts etc
Refer [advanced section](./advanced.md) for advanced operations like setting up ssl, updating configurations, restarts etc

View File

@@ -19,7 +19,12 @@ use utility script at [./bin/nginx_reload.sh](./bin/nginx_reload.sh)
To enable SSL for incoming https requests, nginx should be configured with combination of a public certificate and a private key. The SSL private key is kept secret on the server. It will be used to encrypt content sent to clients.
Below are different approaches to get and configure certificates. Make your choice
### letsencrypt for generating certificates
Certificates/key can be obtained by trusted CA (Certificate Authorities), there are many paid vendors found online or you can also use [letsencrypt](https://letsencrypt.org/) a non profit certificate provider for free however we recommend [donating](https://www.abetterinternet.org/donate/) for their service.
Certificates/key can be obtained by trusted CA (Certificate Authorities), there are many paid vendors found online or you can also use [letsencrypt](https://letsencrypt.org/) a non profit certificate provider for free however we recommend [donating](https://www.abetterinternet.org/donate/) for their work.
Run the script to create certificate using the script
```
./bin/gen_letsencrypt_cert.sh
```
### [TBD] Bring your own certificates
If you already have the certificates, either self signed or generated by any other means, you will need to configure them with nginx. Below are the steps

0
docker-compose/aio/bin/gen_letsencrypt_cert.sh Normal file → Executable file
View File