Skip to content

Commit 711f42d

Browse files
committed
Add post-quantum hybrid ECDHE-MLKEM for TLSv1.3
1 parent 6fbee2b commit 711f42d

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

docker/compose.development.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
# terminate tls so we don't need to have exceptions in the nginx config file for development
33
port-expose:
4-
image: nginx:1.27.3-alpine
4+
image: nginx:1.29.1-alpine3.22
55
networks:
66
- public-internet
77
- internal

docker/compose.integration-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
# from the internal network to the outside
55
# also terminate tls so we don't need to have exceptions in the nginx config file for development
66
port-expose:
7-
image: nginx:1.27.3-alpine
7+
image: nginx:1.29.1-alpine3.22
88
networks:
99
- public-internet
1010
- port-expose
@@ -96,7 +96,7 @@ services:
9696
- $RABBITMQ_GUI
9797

9898
test-target:
99-
image: nginx:1.27.3-alpine
99+
image: nginx:1.29.1-alpine3.22
100100

101101
networks:
102102
public-internet:
@@ -137,7 +137,7 @@ services:
137137
MH_SMTP_BIND_ADDR: 0.0.0.0:25
138138

139139
static:
140-
image: nginx:1.27.3-alpine
140+
image: nginx:1.29.1-alpine3.22
141141

142142
restart: unless-stopped
143143

docker/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
- nginx-logs-exporter:/var/log/nginx/prometheus-nginxlog-exporter/
6060

6161
healthcheck:
62-
test: ["CMD", "service", "nginx", "status"]
62+
test: ["CMD", "curl", "-kfsSo/dev/null", "https://$INTERNETNL_DOMAINNAME", "--resolve", "$INTERNETNL_DOMAINNAME:443:127.0.0.1"]
6363
interval: $HEALTHCHECK_INTERVAL
6464
start_interval: $HEALTHCHECK_START_INTERVAL
6565
start_period: 1m

docker/webserver.Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
FROM nginx:1.27.3
1+
FROM nginx:1.29.1-alpine3.22
22

3-
RUN apt-get update && apt-get install -y \
3+
RUN apk add \
4+
# for random quic host key
5+
openssl \
46
# for htpasswd
57
apache2-utils \
6-
# for gixy install
7-
python3-venv \
8-
&& rm -rf /var/lib/apt/lists/*
8+
# for gixy and certbot install
9+
python3
910

1011
# install nginx config static analysis tool
1112
RUN python3 -m venv /opt/gixy

docker/webserver/nginx_templates/app.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ssl_stapling on;
3737
ssl_stapling_verify on;
3838
ssl_protocols TLSv1.2 TLSv1.3;
3939
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305;
40+
ssl_ecdh_curve SecP384r1MLKEM1024:X25519MLKEM768:SecP256r1MLKEM768:secp521r1:brainpoolP512r1:x448:brainpoolP384r1:secp384r1:x25519:secp256r1:brainpoolP256r1;
4041

4142
http2 on;
4243
http3 on;

0 commit comments

Comments
 (0)