Skip to content

[#1307] Load the Docker administration certificate from a mounted Secret - #1308

Open
vharseko wants to merge 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:features/1307-admin-tls-secret
Open

vharseko wants to merge 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:features/1307-admin-tls-secret

Conversation

@vharseko

Copy link
Copy Markdown
Member

Summary

  • Load admin-keystore and admin-keystore.pin from SECRET_VOLUME when both are present. The first start, starts with an existing data volume, and the periodic refresh all use the same copy path.
  • Document the admin-cert alias, the cert-manager JKS projection, and how to verify renewal with CA and hostname checks.
  • Run an administration TLS test for both Docker images in CI.

Verification

  • The test failed against the unmodified entrypoint because port 4444 presented the generated self-signed certificate.
  • Passed locally on both the standard and Alpine images built with the current server distribution. The test covers a fresh instance, live rotation of the PKCS12 keystore and PIN through a Kubernetes-style Secret projection, and replacement with a JKS keystore on the same volume with refresh disabled. It verifies the served serial and runs dsconfig with a CA truststore, including rejection of an address absent from the SAN.
  • The existing LDAPS Secret-volume test passed locally on the standard image.

Fixes #1307

@vharseko vharseko added enhancement docker kubernetes Kubernetes / Helm / OpenShift deployment tls TLS connections, certificates, and encrypted handshakes labels Nov 18, 2026
@vharseko
vharseko requested a review from maximthomas November 18, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker enhancement kubernetes Kubernetes / Helm / OpenShift deployment tls TLS connections, certificates, and encrypted handshakes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow the Docker administration connector to use a certificate from a Kubernetes Secret

1 participant