Merge pull request #2924 from elementyang/make-ssl-etcd-pr

fix the time of ca files are changed in make-ssl-etcd
This commit is contained in:
Rong Zhang 2018-07-02 20:44:20 +08:00 committed by GitHub
commit 31e6c44b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}/