#! /bin/sh
export SSLDIR=/etc/ssl
echo Note: This file would be overwritten when new certificates are installed. > ${SSLDIR}/ca-bundle.crt
echo Please install all root CA certificates into ${SSLDIR}/certs >> ${SSLDIR}/ca-bundle.crt
echo and use update-ca-bundle to create this file. >> ${SSLDIR}/ca-bundle.crt
echo >> ${SSLDIR}/ca-bundle.crt
cat ${SSLDIR}/certs/*.pem >> ${SSLDIR}/ca-bundle.crt
c_rehash
echo CA Bundle has been updated.
