install: Rename generate-self-signed-cert.

This script generates one certificate.
This commit is contained in:
Greg Price 2018-01-23 15:52:17 -08:00
parent d258e48f3d
commit c27f36a82a
4 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ Files: puppet/zulip_internal/files/zulip-ec2-configure-interfaces
Copyright: 2013-2017, Dropbox, Inc., Kandra Labs, Inc., and contributors
License: Expat
Files: scripts/setup/generate-self-signed-certs
Files: scripts/setup/generate-self-signed-cert
Copyright: 2003-2006 Thom May
2006 Fabio M. Di Nitto
2006 Adam Conrad

View File

@ -94,7 +94,7 @@ logged in as root, use `sudo -i` to start an interactive root shell.
The quickest way to create a cert is to use the script we provide:
```
scripts/setup/generate-self-signed-certs zulip.example.com
scripts/setup/generate-self-signed-cert zulip.example.com
```
from the root of your Zulip directory (replacing `zulip.example.com`

View File

@ -130,7 +130,7 @@ configure_nginx() {
configure_certs() {
echo "Executing certificates configuration..."
if [ ! -f "$DATA_DIR/certs/zulip.key" ] && [ ! -f "$DATA_DIR/certs/zulip.combined-chain.crt" ]; then
/root/zulip/scripts/setup/generate-self-signed-certs "$ZULIP_USER_DOMAIN"
/root/zulip/scripts/setup/generate-self-signed-cert "$ZULIP_USER_DOMAIN"
mv /etc/ssl/private/zulip.key "$DATA_DIR/certs/zulip.key"
mv /etc/ssl/certs/zulip.combined-chain.crt "$DATA_DIR/certs/zulip.combined-chain.crt"
fi