# do not remove this line, it imports db configuration from dbconfig-common
. /etc/authentic2/db.conf
# do not remove this line, it imports secret which is automatically generated
. /etc/authentic2/secret

# Debug
# export DEBUG=yes

# Define administrators / managers
# export ADMINS='admin eo;admin+authentic2@example.com'

# Database configuration (please use dpkg-reconfigure authentic2)

# Static root directory
export STATIC_ROOT='/var/lib/authentic2/static'

# We are behind a reverse proxy so we accept every hosts
export ALLOWED_HOSTS='*'

# You MUST set RSA key here
# you can generate this key with this commands :
# openssl genrsa -out saml.key 2048
# openssl rsa -in saml.key -pubout -out saml.pub
export SAML_SIGNATURE_PUBLIC_KEY="`cat /etc/authentic2/cert.pem`"
export SAML_SIGNATURE_PRIVATE_KEY="`cat /etc/authentic2/key.pem`"

# Cache configuration
#export USE_MEMCACHED=yes # required python-memcache memcached

# Enables some features
#export IDP_SAML2='yes'
#export IDP_CAS='yes'
#export AUTH_SAML2='yes'
#export AUTH_SSL='yes'

# Sentry / Raven configuration
#export SENTRY_DSN='' # require package  python-raven

# Email configuration
#export EMAIL_HOST = 'localhost'
#esport EMAIL_PORT = 25
export EMAIL_SUBJECT_PREFIX='[Authentic2]'
#export SERVER_EMAIL='admin+authentic2@entrouvert.com'


