Commit d36259d 1 parent 6a21ebd commit d36259d Copy full SHA for d36259d
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 113
113
rm /certs/${! host} /le-ok
114
114
fi
115
115
fi
116
- if [[ -e /certs/${! host} /le-ok ]]; then
117
- mkdir -p /root/.acme.sh/${! host} /
118
- cp /certs/${! host} /csr/* /root/.acme.sh/${! host} /
119
- /root/.acme.sh/acme.sh $test --log --renew -d ${! host} $server
120
- fi
121
116
ecc=" "
122
117
keyLengthTest=` echo " $keyLength " | /usr/bin/cut -c1-2`
123
118
if [ " $keyLengthTest " = " ec" ]; then
124
119
ecc=" --ecc"
125
120
fi
121
+ if [[ -e /certs/${! host} /le-ok ]]; then
122
+ mkdir -p /root/.acme.sh/${! host} /
123
+ cp /certs/${! host} /csr/* /root/.acme.sh/${! host} /
124
+ /root/.acme.sh/acme.sh $test --log --renew -d ${! host} $ecc $server
125
+ fi
126
126
# Replace the existing self-signed certificate with a LE one
127
127
if [ ! -e /certs/${! host} /le-ok ]; then
128
128
echo " "
You can’t perform that action at this time.
0 commit comments