Repository navigation
Description
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.ioAcceptance 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
[-]feat(helm): support cert-manager client certificates for mTLS operator authentication[/-][+]docs: document cert-manager operator mTLS certificate setup[/+]github-actions commentedon Nov 14, 2026
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.