Browse Source
Merge pull request #2924 from elementyang/make-ssl-etcd-pr
fix the time of ca files are changed in make-ssl-etcd
pull/2952/head
Rong Zhang
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
roles/etcd/files/make-ssl-etcd.sh
|
|
@ -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}/ |