Merge pull request #1549 from coreos-inc/certs

Switch to install custom LDAP cert by name
This commit is contained in:
josephschorr 2016-06-21 15:13:44 -04:00 committed by GitHub
commit 7173d53030
4 changed files with 24 additions and 32 deletions

View file

@ -0,0 +1,8 @@
#! /bin/bash
set -e
if [ -e /conf/stack/ldap.crt ]
then
cp /conf/stack/ldap.crt /usr/local/share/ca-certificates/ldap.crt
/usr/sbin/update-ca-certificates
fi