File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 21
21
openssl req -key certs/servers/localhost/privkey.pem -new -sha256 -out certs/tmp/localhost.csr.pem -subj " /C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=${cert_domain} "
22
22
fi
23
23
openssl x509 -req -in certs/tmp/localhost.csr.pem -CA certs/ca/root.crt.pem -CAkey certs/ca/root.key.pem -CAcreateserial -out certs/servers/localhost/cert.pem -days 9131
24
- mv -f certs/servers/localhost/privkey.pem /etc/coolwsd/key.pem
25
- mv -f certs/servers/localhost/cert.pem /etc/coolwsd/cert.pem
26
- mv -f certs/ca/root.crt.pem /etc/coolwsd/ca-chain.cert.pem
24
+ cert_params=" \
25
+ --o:ssl.cert_file_path=/tmp/ssl/certs/servers/localhost/cert.pem \
26
+ --o:ssl.key_file_path=/tmp/ssl/certs/servers/localhost/privkey.pem \
27
+ --o:ssl.ca_file_path=/tmp/ssl/certs/ca/root.crt.pem"
27
28
fi
28
29
29
30
# Start coolwsd
30
- exec /usr/bin/coolwsd --version --use-env-vars --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd --o:cache_files.path=/opt/cool/cache --o:logging.color=false --o:stop_on_config_change=true ${extra_params} " $@ "
31
+ exec /usr/bin/coolwsd --version --use-env-vars ${cert_params} --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd --o:cache_files.path=/opt/cool/cache --o:logging.color=false --o:stop_on_config_change=true ${extra_params} " $@ "
Original file line number Diff line number Diff line change 21
21
openssl req -key certs/servers/localhost/privkey.pem -new -sha256 -out certs/tmp/localhost.csr.pem -subj " /C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=${cert_domain} "
22
22
fi
23
23
openssl x509 -req -in certs/tmp/localhost.csr.pem -CA certs/ca/root.crt.pem -CAkey certs/ca/root.key.pem -CAcreateserial -out certs/servers/localhost/cert.pem -days 9131
24
- mv -f certs/servers/localhost/privkey.pem /etc/coolwsd/key.pem
25
- mv -f certs/servers/localhost/cert.pem /etc/coolwsd/cert.pem
26
- mv -f certs/ca/root.crt.pem /etc/coolwsd/ca-chain.cert.pem
24
+ cert_params=" \
25
+ --o:ssl.cert_file_path=/tmp/ssl/certs/servers/localhost/cert.pem \
26
+ --o:ssl.key_file_path=/tmp/ssl/certs/servers/localhost/privkey.pem \
27
+ --o:ssl.ca_file_path=/tmp/ssl/certs/ca/root.crt.pem"
27
28
fi
28
29
29
30
# Start coolwsd
30
- exec /usr/bin/coolwsd --version --use-env-vars --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd --o:cache_files.path=/opt/cool/cache --o:logging.color=false --o:stop_on_config_change=true ${extra_params} " $@ "
31
+ exec /usr/bin/coolwsd --version --use-env-vars ${cert_params} --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd --o:cache_files.path=/opt/cool/cache --o:logging.color=false --o:stop_on_config_change=true ${extra_params} " $@ "
You can’t perform that action at this time.
0 commit comments