Skip to content

SSL client certificate authentication at kubernetes level and nginx ingress as a Defaultbackend #11507

Open
@rahulsyal92

Description

@rahulsyal92

Hello,

I want to do SSL client certificate authentication at pod level when using nginx ingress controller as a default backend. I referred the document (https://github.com/kubernetes/ingress-nginx/blob/main/docs/examples/auth/client-certs/ingress.yaml) and still not able to get pop up to insert my certificate.
At logs level i got certificate required and error code as 404 found. Please suggest to proceed beyond this.
Sharing my nginx ingress yaml file as:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: env-ingress
namespace: ns
annotations:
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
spec:
defaultBackend:
service:
name: svc-name
port:
number: 9443
ingressClassName: nginx

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions