Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenShift-4-11 certificate expiration - oc login failures #325

Open
ryanj opened this issue Oct 22, 2024 · 4 comments
Open

OpenShift-4-11 certificate expiration - oc login failures #325

ryanj opened this issue Oct 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ryanj
Copy link
Member

ryanj commented Oct 22, 2024

In which track did this bug occur?

All openshift-4-11 tracks

what is the url for the track?
https://play.instruqt.com/manage/openshift/tracks/getting-started-with-openshift

At what step of the track did this happen?
oc login -u developer -p developer

Describe the bug
login fails, even with --insecure-skip-tls-verify=true flags

Logs or error messages
error response:

error: x509: certificate has expired or is not yet valid: current time 2024-10-22T21:56:20Z is after 2024-10-02T10:42:59Z
@ryanj ryanj added the bug Something isn't working label Oct 22, 2024
@danieloh30
Copy link
Collaborator

Just confirmed that I still have the same issue in https://developers.redhat.com/courses/quarkus/panache

[root@crc-lgph7-master-0 /]# oc login -u developer -p developer
error: x509: certificate has expired or is not yet valid: current time 2024-10-22T22:24:47Z is after 2024-10-02T10:42:59Z
[root@crc-lgph7-master-0 /]#

@ryanj
Copy link
Member Author

ryanj commented Oct 22, 2024

Possible workaround: avoid using the oc login command to connect as a "developer". You should be logged in as a system:admin account by default.

@danieloh30
Copy link
Collaborator

If I have to do with admin cred, I need to change all markdown files. I need to confirm if there's no way to fix this before updating all files.

@ryanj
Copy link
Member Author

ryanj commented Oct 30, 2024

@danieloh30 Let me know if there is a particular track I can take a look at. I should be able to upgrade it to a newer release to resolve the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants