Skip to content

fix(deploy): generate missing miniKMS gRPC certs (0.23.2) - #149

Merged
BRAVO68WEB merged 2 commits into
mainfrom
fix/deploy-minikms-grpc-extfile
Sep 26, 2026
Merged

BRAVO68WEB merged 2 commits into
mainfrom
fix/deploy-minikms-grpc-extfile

Conversation

@BRAVO68WEB

Copy link
Copy Markdown
Contributor

Why

Upgrading to 0.23.1 fails on hosts whose openssl x509 does not accept -addext (OpenSSL 1.1.1 / LibreSSL):

openssl failed to sign server cert: x509: Multiple digest or unknown options: -sha256 and -addext

Local deploy.env also kept MINIKMS_TLS_ENABLED=false from the previous template, which would leave the API talking plaintext to a TLS-required sidecar.

What

  • Generate the control-plane gRPC CA/server/client PEMs with a temp -extfile (portable across OpenSSL 1.1.1, 3.x, and LibreSSL)
  • Force MINIKMS_TLS_* from the generated template on init/upgrade so existing installs pick up mTLS
  • Product version bump 0.23.1 → 0.23.2

After merge

Push tag v0.23.2 on the new main HEAD.

x509 -req -addext fails on OpenSSL 1.1.1 and LibreSSL
("Multiple digest or unknown options: -sha256 and -addext").
Sign with a temp extfile instead, and force MINIKMS_TLS_* from
the generated template so upgrades do not keep TLS disabled.
@b68-pilot b68-pilot Bot added the size/XL label Sep 26, 2026
@BRAVO68WEB
BRAVO68WEB merged commit 24fa54a into main Sep 26, 2026
15 checks passed
@BRAVO68WEB
BRAVO68WEB deleted the fix/deploy-minikms-grpc-extfile branch September 26, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant