radicale private cert
This commit is contained in:
parent
70670d8000
commit
cebd215970
|
@ -337,8 +337,11 @@ function install_radicale {
|
|||
echo ' }' >> /etc/nginx/sites-available/radicale
|
||||
echo '}' >> /etc/nginx/sites-available/radicale
|
||||
|
||||
sed -i "s|radicale.crt|${DEFAULT_DOMAIN_NAME}.crt|g" /etc/nginx/sites-available/radicale
|
||||
sed -i "s|radicale.pem|${DEFAULT_DOMAIN_NAME}.pem|g" /etc/nginx/sites-available/radicale
|
||||
if [ -f /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem ]; then
|
||||
sed -i "s|radicale.crt|${DEFAULT_DOMAIN_NAME}.pem|g" /etc/nginx/sites-available/radicale
|
||||
sed -i "s|radicale.pem|${DEFAULT_DOMAIN_NAME}.pem|g" /etc/nginx/sites-available/radicale
|
||||
fi
|
||||
sed -i "s|radicale.key|${DEFAULT_DOMAIN_NAME}.key|g" /etc/nginx/sites-available/radicale
|
||||
sed -i "s|radicale.dhparam|${DEFAULT_DOMAIN_NAME}.dhparam|g" /etc/nginx/sites-available/radicale
|
||||
|
||||
# create a certificate
|
||||
|
|
Loading…
Reference in New Issue