fup
This commit is contained in:
parent
6232664fe6
commit
be6d05b075
|
@ -17,7 +17,7 @@ start_pre() {
|
||||||
/run/$RC_SVCNAME /var/log/$RC_SVCNAME
|
/run/$RC_SVCNAME /var/log/$RC_SVCNAME
|
||||||
if [ ! -f "/etc/matchbox/server.crt" ]; then
|
if [ ! -f "/etc/matchbox/server.crt" ]; then
|
||||||
cd /root/tls
|
cd /root/tls
|
||||||
export SAN="DNS.1:${Vars.MatchBox.URL},IP.1:${Vars.ETH0.IP}"
|
export SAN="DNS.1:${Vars.MatchBox.Hostname},IP.1:${Vars.ETH0.IP}"
|
||||||
./cert-gen
|
./cert-gen
|
||||||
mkdir -p /etc/matchbox
|
mkdir -p /etc/matchbox
|
||||||
cp ca.crt server.crt server.key /etc/matchbox
|
cp ca.crt server.crt server.key /etc/matchbox
|
||||||
|
|
Loading…
Reference in New Issue