1
0
Derivar 0

#96 added option to disable certificate check

Este cometimento está contido em:
Roland Gruber 2020-05-28 20:25:39 +02:00
ascendente 71af42442b
cometimento 2e61e2dca9
2 ficheiros modificados com 8 adições e 0 eliminações

Ver ficheiro

@ -22,6 +22,9 @@ LAM_LANG=en_US
# LAM configuration master password and password for server profile "lam"
LAM_PASSWORD=lam
# deactivate TLS certificate checks, activate for development only
LAM_DISABLE_TLS_CHECK=false
#
# docker-compose only, LDAP server setup
#

Ver ficheiro

@ -23,6 +23,11 @@
set -eu # unset variables are errors & non-zero return values exit the whole script
[ "$DEBUG" ] && set -x
if [ "$LAM_DISABLE_TLS_CHECK" == "true" ]; then
ln -s /etc/ldap/ldap.conf /etc/ldap.conf
echo "TLS_REQCERT never" >> /etc/ldap/ldap.conf
fi
LAM_SKIP_PRECONFIGURE="${LAM_SKIP_PRECONFIGURE:-false}"
if [ "$LAM_SKIP_PRECONFIGURE" != "true" ]; then