Commit Graph

25 Commits

Author SHA1 Message Date
bolkedebruin
8998ab1066 Drop baked-in TLS cert, run as 1001, refuse known placeholder secrets (#191)
The dev container image generated a TLS keypair at build time and
shipped it inside the image, so every pull of the same image tag was
serving the same private key. The entrypoint also reverted to USER 0
to support a dead `createusers.txt` loop and a `chmod u+s` that was a
no-op (set on a binary owned by 1001). Net result was that any RCE
in the gateway landed as root and the wire-trust posture relied on a
shared private key.

Stop generating the cert at build time: the runtime image now carries
openssl and the entrypoint mints an ephemeral self-signed cert at
first start when no cert is mounted at the configured path. Each
container instance gets its own key. Drop USER 0 entirely; the
entrypoint runs as 1001 throughout. Prune the dead createusers loop
and the `chmod u+s`.

Separately, the README and the dev compose files publish a small set
of literal placeholder values for SessionKey, SessionEncryptionKey,
and the various Token*Key fields. Operators copy-paste these into
real deployments. Refuse to start when any of those literals appear
in the corresponding config field.
2026-04-30 19:19:09 +02:00
Bolke de Bruin
55f528ae15 Fix docker file again 2025-09-25 16:15:02 +02:00
Bolke de Bruin
3f73572bcc Fix docker file 2025-09-25 16:02:31 +02:00
Bolke de Bruin
21a88d2dea Add webinterface 2025-09-25 15:33:46 +02:00
bolkedebruin
e5302e3795 Install CA certificates in Dockerfile stages 2025-09-23 14:43:17 +02:00
Bolke de Bruin
c99b4ee58b fix: make docker build again 2025-09-05 14:39:45 +02:00
Chao-Jui Chang
10722d7105 Add tzdata package for showing local time in log (#149) 2025-07-15 12:08:50 +02:00
Bolke de Bruin
79f8d8f545 Add local PAM docker-compose 2024-03-19 09:25:15 +01:00
Bolke de Bruin
91e382c586 Move to more flexibility in image 2024-03-18 13:36:41 +01:00
Bolke de Bruin
f75321f6b7 Base on alpine and run both rdpgw-auth and gateway 2024-03-18 13:26:24 +01:00
tobsec
1ff38730d2 Upgrade Keycloak dependency (#60)
* Change ownership not working for key.pem
* Fix Keycloak not importing realm, default path of keycloak to /auth
* Set default path of keycloak to /auth
2022-11-17 10:43:59 +01:00
Bolke de Bruin
19e9e3269d Fix auth function setup 2022-08-26 11:42:10 +02:00
Bolke de Bruin
c76de478e2 Fix openid 2022-08-26 11:27:11 +02:00
Bolke de Bruin
f94e73b1ec Fix some issues with gateway addresses 2022-08-26 10:06:43 +02:00
Bolke de Bruin
50f6d343f1 Make docker image use sratch 2022-08-26 09:46:59 +02:00
Bolke de Bruin
bd876d2df8 Add xrdp config that works with macos client out of the box 2022-08-08 14:19:28 +02:00
Bolke de Bruin
dfb82889d3 Add error coes and better protocol handling 2022-08-07 12:03:44 +02:00
Bolke de Bruin
6917beb0d2 Testing 2022-08-06 11:45:48 +02:00
Jelte van Woudenbergh
2a11a23586 fixed typos and add new line in last line 2022-02-04 15:40:28 +01:00
Jelte van Woudenbergh
45132813c2 Added root CA's 2022-01-05 11:44:54 +01:00
Jelte van Woudenbergh
2fcead680c Multistage dockerfile.
Result image size from 750MB to 16MB
2022-01-05 10:36:29 +01:00
Bolke de Bruin
bd10329828 Add arm64 docker-build 2021-12-25 13:41:56 +01:00
Krzysztof Adamski
7f56569d42 fix docker build 2021-12-22 08:16:40 +01:00
Alessandro Pilotti
c971db956b Use go 1.14.7 in Dockerfile 2020-08-28 19:00:25 +02:00
Krzysztof Adamski
94acec7529 Add local docker test environment (#1)
* local docker test environment with keycloak and xrdp

Co-authored-by: Krzysztof Adamski <krzysztof.adamski@ing.com>
2020-07-28 08:49:58 +02:00