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

dev env setup handle golang cert issues on macOS #707

Closed
KevinMGranger opened this issue Nov 7, 2022 · 2 comments · Fixed by #709
Closed

dev env setup handle golang cert issues on macOS #707

KevinMGranger opened this issue Nov 7, 2022 · 2 comments · Fixed by #709

Comments

@KevinMGranger
Copy link
Collaborator

There's an outstanding issue with go's x509 library that broke invalid certificate handling on macOS. If you're using some local cluster with self-signed certs, ignoring their validity won't work.

If you're using OpenShift Local / CRC, then their bundled oc version actually works around this! But I always forget about that when remaking my dev environment 😅.

A reminder would be nice.

@KevinMGranger
Copy link
Collaborator Author

Alternatively, since the workaround is to use the 4.10 version of oc, maybe the script should just use that version on macOS for now?

https://bugzilla.redhat.com/show_bug.cgi?id=2097830

@KevinMGranger KevinMGranger changed the title dev env setup should print warning about cert issues on darwin dev env setup handle golang cert issues on macOS Nov 7, 2022
@mpryc
Copy link
Collaborator

mpryc commented Nov 10, 2022

@KevinMGranger #709 is merged, however we should track the issue with the oc on Mac somewhere so it will get updated when it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants