File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -423,9 +423,13 @@ update_components() {
423
423
update_ca_certificates () {
424
424
# Upgrade host os certificates
425
425
update-ca-certificates
426
- # Upgrade cake cacert.pem file from Mozilla project
427
- echo " Updating /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem..."
428
- sudo -E -u www-data curl -s --etag-compare /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt --etag-save /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt https://curl.se/ca/cacert.pem -o /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem
426
+ if [[ " $DISABLE_CA_REFRESH " = " true" ]]; then
427
+ echo " Updating /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem using local data..."
428
+ sudo cp /etc/ssl/certs/ca-certificates.crt /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem
429
+ else
430
+ echo " Updating /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem using curl data..."
431
+ sudo -E -u www-data curl -s --etag-compare /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt --etag-save /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt https://curl.se/ca/cacert.pem -o /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem
432
+ fi
429
433
}
430
434
431
435
create_sync_servers () {
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export CRON_USER_ID=${CRON_USER_ID:-1}
20
20
export BASE_URL=${BASE_URL:- https:// localhost}
21
21
export DISABLE_IPV6=${DISABLE_IPV6:- false}
22
22
export DISABLE_SSL_REDIRECT=${DISABLE_SSL_REDIRECT:- false}
23
+ export DISABLE_CA_REFRESH=${DISABLE_CA_REFRESH:- false}
23
24
export SMTP_FQDN=${SMTP_FQDN:- mail}
24
25
25
26
export ADMIN_EMAIL=${ADMIN_EMAIL:- admin@ admin.test}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ services:
13
13
14
14
redis :
15
15
image : valkey/valkey:7.2
16
- command : " --requirepass '${REDIS_PASSWORD:-redispassword}'"
16
+ command : " --save '' -- requirepass '${REDIS_PASSWORD:-redispassword}'"
17
17
healthcheck :
18
18
test : " valkey-cli -a '${REDIS_PASSWORD:-redispassword}' -p ${REDIS_PORT:-6379} ping | grep -q PONG || exit 1"
19
19
interval : 2s
@@ -107,6 +107,7 @@ services:
107
107
- " ENABLE_DB_SETTINGS=${ENABLE_DB_SETTINGS}"
108
108
- " ENABLE_BACKGROUND_UPDATES=${ENABLE_BACKGROUND_UPDATES}"
109
109
- " ENCRYPTION_KEY=${ENCRYPTION_KEY}"
110
+ - " DISABLE_CA_REFRESH=${DISABLE_CA_REFRESH}"
110
111
# standard settings
111
112
- " ADMIN_EMAIL=${ADMIN_EMAIL}"
112
113
- " ADMIN_PASSWORD=${ADMIN_PASSWORD}"
Original file line number Diff line number Diff line change 2
2
# Build-time variables
3
3
# #
4
4
5
- CORE_TAG = v2.5.6
5
+ CORE_TAG = v2.5.7
6
6
MODULES_TAG = v2.4.199
7
7
PHP_VER = 20220829
8
8
LIBFAUP_COMMIT = 3a26d0a
@@ -118,6 +118,9 @@ SYNCSERVERS_1_PULL_RULES=
118
118
# Disable SSL redirect
119
119
# DISABLE_SSL_REDIRECT=true
120
120
121
+ # Disable CA refresh
122
+ # DISABLE_CA_REFRESH=true
123
+
121
124
# Enable OIDC authentication, according to https://github.com/MISP/MISP/blob/2.4/app/Plugin/OidcAuth/README.md
122
125
# OIDC_ENABLE=true
123
126
# OIDC_PROVIDER_URL=
You can’t perform that action at this time.
0 commit comments