fix the time of ca files are changed in make-ssl-etcd

This commit is contained in:
elementyang 2018-06-24 13:05:43 +08:00
parent f624ba47fb
commit d6f2dbc723

View file

@ -95,4 +95,9 @@ if [ -n "$HOSTS" ]; then
fi
# Install certs
if [ -e "$SSLDIR/ca-key.pem" ]; then
# No pass existing CA
rm -f ca.pem ca-key.pem
fi
mv *.pem ${SSLDIR}/