Switch to install custom LDAP cert by name

This commit is contained in:
Joseph Schorr 2016-06-09 14:47:08 -04:00
parent f36442aa0d
commit 66ec1d81ce
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