Skip to content

[QE] certificate has expired or is not yet valid #4171

Open
@lsjshilly

Description

General information

  • OS: Windows
  • Hypervisor: Hyper-V
  • Did you run crc setup before starting it (Yes/No)? yes
  • Running CRC on: Laptop

CRC version

# Put `crc version` output here
4.8.12

CRC status

# Put `crc status --log-level debug` output here
$ oc logs  console-7f48bcc4fb-hjhwn -n openshift-console
W0521 03:40:12.226808       1 main.go:206] Flag inactivity-timeout is set to less then 300 seconds and will be ignored!
I0521 03:40:12.226876       1 main.go:278] cookies are secure!
E0521 03:40:12.243620       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:12Z is after 2024-01-05T12:01:35Z
E0521 03:40:22.248939       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:22Z is after 2024-01-05T12:01:35Z
E0521 03:40:32.255392       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:32Z is after 2024-01-05T12:01:35Z
E0521 03:40:42.263116       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:42Z is after 2024-01-05T12:01:35Z
E0521 03:40:52.269651       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:52Z is after 2024-01-05T12:01:35Z

CRC config

# Put `crc config view` output here

Host Operating System

Host Name:                 DESKTOP-F10TQ0P
OS Name:                   Microsoft Windows 11 专业版
OS Version:                10.0.22000 N/A Build 22000
OS Manufacturer:           Microsoft Corporation

Steps to reproduce

  1. Installing an Older Version of OpenShift Local (e.g., OpenShift 4.8/4.9) on Windows

Expected

The OpenShift console can run normally

Actual

The OpenShift console can run abnormal
"The certificate under openshift-ingress namespace is expired."

Logs

 oc logs  console-7f48bcc4fb-hjhwn -n openshift-console
W0521 03:40:12.226808       1 main.go:206] Flag inactivity-timeout is set to less then 300 seconds and will be ignored!
I0521 03:40:12.226876       1 main.go:278] cookies are secure!
E0521 03:40:12.243620       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:12Z is after 2024-01-05T12:01:35Z
E0521 03:40:22.248939       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:22Z is after 2024-01-05T12:01:35Z
E0521 03:40:32.255392       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:32Z is after 2024-01-05T12:01:35Z
E0521 03:40:42.263116       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:42Z is after 2024-01-05T12:01:35Z
E0521 03:40:52.269651       1 auth.go:231] error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps-crc.testing/oauth/token failed: Head "https://oauth-openshift.apps-crc.testing": x509: certificate has expired or is not yet valid: current time 2024-05-21T03:40:52Z is after 2024-01-05T12:01:35Z

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions