Browse Source

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

pull/2924/head
elementyang 6 years ago
parent
commit
d6f2dbc723
1 changed files with 5 additions and 0 deletions
  1. 5
      roles/etcd/files/make-ssl-etcd.sh

5
roles/etcd/files/make-ssl-etcd.sh

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