This commit is contained in:
Philippe Caseiro 2023-01-05 15:56:37 +01:00
parent 6232664fe6
commit be6d05b075
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ start_pre() {
/run/$RC_SVCNAME /var/log/$RC_SVCNAME
if [ ! -f "/etc/matchbox/server.crt" ]; then
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
mkdir -p /etc/matchbox
cp ca.crt server.crt server.key /etc/matchbox