mirror of https://github.com/zulip/zulip.git
install: Rename generate-self-signed-cert.
This script generates one certificate.
This commit is contained in:
parent
d258e48f3d
commit
c27f36a82a
|
@ -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
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue