2017-10-27 14:07:36 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
#
|
|
|
|
# Template for eIDAS Connector configuration
|
|
|
|
# Script within docker container reads from /etc/eidas-connector/env/ - So make sure to have a volume mount.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Logging settings
|
|
|
|
#
|
|
|
|
|
|
|
|
# Logback log levels
|
|
|
|
# There must be a Docker volume mounted to the /etc/eidas-connector directory.
|
2017-12-11 13:22:29 +01:00
|
|
|
export IDP_LOG_SETTINGS_FILE=/etc/eidas-connector/loglevels.xml
|
2017-10-27 14:07:36 +02:00
|
|
|
|
|
|
|
# Process logs go to stdout
|
2018-09-21 15:29:18 +02:00
|
|
|
export IDP_LOG_CONSOLE=false
|
2017-10-27 14:07:36 +02:00
|
|
|
|
|
|
|
# Syslog (for Audit and F-TICKS)
|
2018-06-17 20:22:12 +02:00
|
|
|
export IDP_SYSLOG_HOST=log.qa.sveidas.se
|
2017-12-11 13:22:29 +01:00
|
|
|
export IDP_SYSLOG_PORT=514
|
2017-10-27 14:07:36 +02:00
|
|
|
|
2018-09-21 15:29:18 +02:00
|
|
|
export IDP_PROCESS_SYSLOG_HOST=log.qa.sveidas.se
|
|
|
|
export IDP_PROCESS_SYSLOG_PORT=514
|
|
|
|
|
|
|
|
export IDP_AUDIT_SYSLOG_FACILITY=LOCAL0
|
2017-10-27 14:07:36 +02:00
|
|
|
|
2018-09-21 15:29:18 +02:00
|
|
|
export IDP_FTICKS_FEDERATION_ID=eIDAS
|
|
|
|
export IDP_FTICKS_SYSLOG_FACILITY=LOCAL1
|
|
|
|
export IDP_PROCESS_SYSLOG_FACILITY=LOCAL2
|
2017-10-27 14:07:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
# JVM settings
|
2017-12-11 13:22:29 +01:00
|
|
|
export JVM_MAX_HEAP=1536m
|
|
|
|
export JVM_START_HEA=512m
|
|
|
|
|
|
|
|
export IDP_TLS_TRUSTED_CERTS=/etc/ssl/certs/infra.crt
|
2017-11-23 21:28:14 +01:00
|
|
|
|
2017-12-19 14:41:21 +01:00
|
|
|
export IDP_CREDENTIALS=/etc/eidas-connector/credentials
|
2017-12-11 14:25:51 +01:00
|
|
|
export IDP_SEALER_STORE_RESOURCE=$IDP_CREDENTIALS/sealer.jks
|
|
|
|
export IDP_SEALER_VERSION_RESOURCES=$IDP_CREDENTIALS/sealer.kver
|
2017-12-19 14:41:21 +01:00
|
|
|
|
|
|
|
export IDP_SIGNING_KEY=$IDP_CREDENTIALS/connector.key
|
|
|
|
export IDP_SIGNING_CERT=$IDP_CREDENTIALS/connector.crt
|
|
|
|
export IDP_ENCRYPTION_KEY=$IDP_CREDENTIALS/connector.key
|
|
|
|
export IDP_ENCRYPTION_CERT=$IDP_CREDENTIALS/connector.crt
|
|
|
|
export IDP_METADATA_SIGNING_KEY=$IDP_CREDENTIALS/metadata.key
|
|
|
|
export IDP_METADATA_SIGNING_CERT=$IDP_CREDENTIALS/metadata.crt
|
|
|
|
|
|
|
|
export SP_CREDENTIALS=/etc/eidas-connector/credentials
|
|
|
|
export SP_SIGNING_KEY=$SP_CREDENTIALS/connector.key
|
|
|
|
export SP_SIGNING_CERT=$SP_CREDENTIALS/connector.crt
|
|
|
|
export SP_ENCRYPTION_KEY=$SP_CREDENTIALS/connector.key
|
|
|
|
export SP_ENCRYPTION_CERT=$SP_CREDENTIALS/connector.crt
|
|
|
|
export SP_METADATA_SIGNING_KEY=$SP_CREDENTIALS/metadata.key
|
|
|
|
export SP_METADATA_SIGNING_CERT=$SP_CREDENTIALS/metadata.crt
|
2017-11-23 21:28:14 +01:00
|
|
|
|
|
|
|
# Tomcat settings
|
2017-12-11 14:25:51 +01:00
|
|
|
export TOMCAT_CREDENTIALS=/etc/eidas-connector/credentials/tomcat
|
2017-12-11 14:44:39 +01:00
|
|
|
export TOMCAT_TLS_SERVER_KEY=$TOMCAT_CREDENTIALS/tomcat-key.pem
|
2017-12-11 14:25:51 +01:00
|
|
|
export TOMCAT_TLS_SERVER_CERTIFICATE=$TOMCAT_CREDENTIALS/tomcat-cert.pem
|
|
|
|
export TOMCAT_TLS_SERVER_CERTIFICATE_CHAIN=$TOMCAT_CREDENTIALS/tomcat-chain.pem
|
2018-01-12 15:27:11 +01:00
|
|
|
export TOMCAT_INTERNAL_PROXIES='"10\.\d{1,3}\.\d{1,3}\.\d{1,3}\|192\.168\.\d{1,3}\.\d{1,3}\|169\.254\.\d{1,3}\.\d{1,3}\|127\.\d{1,3}\.\d{1,3}\.\d{1,3}\|172\.1[6-9]{1}\.\d{1,3}\.\d{1,3}\|172\.2[0-9]{1}\.\d{1,3}\.\d{1,3}\|172\.3[0-1]{1}\.\d{1,3}\.\d{1,3}\|130\.242\.125\.\d{1,3}\|81\.236\.48\.\d{1,3}"'
|
2018-03-16 16:29:24 +01:00
|
|
|
|
2018-09-03 15:31:56 +02:00
|
|
|
FEDERATION_METADATA_URL=https://qa.md.swedenconnect.se/entities
|
|
|
|
FEDERATION_METADATA_VALIDATION_CERT=/etc/eidas-connector/credentials/metadata.crt
|
2018-03-16 16:38:35 +01:00
|
|
|
|
2019-09-11 13:19:11 +02:00
|
|
|
EIDAS_METADATA_SERVICE_LIST_URL=https://qa.md.eidas.swedenconnect.se/mdservicelist-aggregate.xml
|
2019-02-01 17:02:06 +01:00
|
|
|
EIDAS_METADATA_SERVICE_LIST_VALIDATION_CERT=/etc/eidas-connector/credentials/metadata.crt
|
2018-03-16 16:38:35 +01:00
|
|
|
|
|
|
|
EIDAS_METADATA_URL=https://qa.md.eidas.swedenconnect.se/entities
|
|
|
|
EIDAS_METADATA_VALIDATION_CERT=/etc/eidas-connector/credentials/metadata.crt
|