Skip to content

[Bug]: Certs in example and test folders are expired #6433

Closed
@haywoodsh

Description

@haywoodsh

Version

edge

What Kubernetes platforms are you running on?

Other

What happened?

A few example and test certs in the repo are expired.

Steps to reproduce

  1. For the following Secret YAML files in the repo, copy the values of data.tls.crt
    https://github.com/nginxinc/kubernetes-ingress/blob/main/examples/custom-resources/basic-auth/cafe-secret.yaml
    https://github.com/nginxinc/kubernetes-ingress/blob/main/examples/shared-examples/default-server-secret/default-server-secret.yaml
    https://github.com/nginxinc/kubernetes-ingress/blob/main/tests/data/common/default-server-secret.yaml
  2. echo <tls.crt value> | base64 --decode | openssl x509 -text
  3. the certs appear to be expired, e.g.
Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number:
            c0:38:5f:6d:2e:c6:97:5a
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=US, ST=CA, O=Internet Widgits Pty Ltd, CN=cafe.example.com
        Validity
            Not Before: Sep 12 16:15:35 2018 GMT
            Not After : Sep 11 16:15:35 2023 GMT
        Subject: C=US, ST=CA, O=Internet Widgits Pty Ltd, CN=cafe.example.com

Expected behaviour

Certs should be up-to-date

Kubectl Describe output

No response

Log output

No response

Contributing Guidelines

  • I confirm that I have read the Report a Bug section of the Contributing Guidelines

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bugrefinedIssues that are ready to be prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions