Skip to content

docs: document cert-manager operator mTLS certificate setup #4630

Open

Description

@TaylorMutch

User Story

As an OpenShell gateway operator deploying with Helm and cert-manager, I need documented steps to issue and use an operator mTLS client certificate so I can perform operator-only actions with a separately managed identity.

Problem Statement

Operator authentication requires a trusted client certificate with exact OU=operator and explicit gateway operator-auth configuration. The Kubernetes certificate-management guide needs a complete workflow connecting cert-manager issuance, gateway trust, and certificate verification.

Impact / Why This Matters

Operators must assemble the certificate subject, issuer, client-auth usage, gateway configuration, and application TLS credentials themselves. Missing one of these steps can prevent authentication or lead to reuse of an ordinary client identity for privileged access.

Proposed Design

Document a standalone cert-manager Certificate managed separately from the Helm release:

  • Use exact OU=operator, client authentication usage, and a dedicated Secret.
  • Reference the chart CA issuer and explain release/namespace naming and client trust configuration.
  • Enable gateway operator authentication through gatewayConfig["openshell.gateway.mtls_auth"].operator_enabled=true.
  • Explain direct or TLS-passthrough access, CLI certificate/key and server-trust extraction, and renewal of exported files.
  • Cover restricted issuance/Secret access and the distinction from administrative operator identity.

Keep the complete procedure in Managing Certificates and link to it from the authentication guide, gateway configuration reference, and chart README.

Suggested UX

Apply the documented Helm values and then a standalone Certificate manifest:

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: openshell-operator-client
  namespace: openshell
spec:
  secretName: openshell-operator-client-tls
  commonName: platform-operator
  subject:
    organizationalUnits: [operator]
  usages: [client auth, digital signature]
  issuerRef:
    name: openshell-ca-issuer
    kind: Issuer
    group: cert-manager.io

Acceptance Criteria

  • Managing Certificates provides copyable gateway values, a standalone Certificate, issuance/wait commands, and certificate verification.
  • Documentation explains trust requirements, exact OU, client-auth usage, dedicated Secret access, direct connectivity, and exported-file renewal.
  • The documented manifest is verified against a local Helm deployment: the operator can call an operator-only RPC and the ordinary client is denied.
  • Disabling gateway operator authentication prevents operator-only access with the same certificate.
  • Related docs link to the procedure; documentation checks pass.

Alternatives Considered

Chart-managed operator certificate issuance could centralize lifecycle management, but adds chart options and maintenance. Start with a documented standalone cert-manager resource and revisit chart ownership if repeated user needs justify it.

Middleware, interceptors, and credential providers do not establish a verified TLS operator identity.

Activity

  1. self-assigned this
    on Oct 15, 2026
  2. added
    state:accepted
    on Oct 16, 2026
  3. changed the title [-]feat(helm): support cert-manager client certificates for mTLS operator authentication[/-] [+]docs: document cert-manager operator mTLS certificate setup[/+] on Oct 16, 2026
  4. github-actions commented on Nov 14, 2026

    @github-actions

    This issue has had no activity for 28 days and is now marked stale. It may be closed in 14 days if there is no further activity. Comment or remove the state:stale label to keep it open.

  5. added
    state:stale
    on Nov 14, 2026
  6. added
    area:enterprise
    topic:authnz
    topic:documentation
    topic:operability
    on Nov 15, 2026
  7. removed
    state:stale
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:enterprisestate:acceptedtopic:authnztopic:documentationtopic:operability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions