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

Unable to skip untrusted certificate on minikube/Chrome #21074

Closed
Tracked by #21503
benoitf opened this issue Jan 26, 2022 · 11 comments
Closed
Tracked by #21503

Unable to skip untrusted certificate on minikube/Chrome #21074

benoitf opened this issue Jan 26, 2022 · 11 comments
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@benoitf
Copy link
Contributor

benoitf commented Jan 26, 2022

Describe the bug

Usually, when browsing into an untrusted website, we can add exception to the website in advanced menu

But with Che/minikube, there is no such option, we have a message

You cannot visit dex.192.168.64.79.nip.io at the moment because the website sent scrambled credentials that Chrome cannot process. Network errors and attacks are usually temporary, so this page will probably work later.

Che version

next (development version)

Steps to reproduce

  1. install minikube
  2. launch Chrome / Version 97.0.4692.99 (Official Build) (x86_64)
  3. try to continue from Chrome, it's impossible

with Firefox I can add an exception and continue but not anymore with Chrome

Expected behavior

Be able to bypass untrusted certificate warning from the browser without adding certificates to the truststore

Runtime

minikube

Screenshots

image

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

No response

@benoitf benoitf added kind/bug Outline of a bug - must adhere to the bug report template. area/chectl Issues related to chectl, the CLI of Che labels Jan 26, 2022
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 26, 2022
@l0rd
Copy link
Contributor

l0rd commented Jan 26, 2022

@benoitf can you confirm that you have that on a private browser tab? And that happens before you authenticate with Dex right?

@l0rd l0rd added status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jan 26, 2022
@benoitf
Copy link
Contributor Author

benoitf commented Jan 26, 2022

yes it happens on all Chrome tabs

afa3OgcroY.mp4

I just installed che on minikube with chectl and I'm clicking on the dashboard link, that's all

@tolusha
Copy link
Contributor

tolusha commented Jan 26, 2022

Minikube v1.24.0
Strange
Google Chrome | 97.0.4692.99 (Official Build) (64-bit)
It allows to procced.
Screenshot from 2022-01-26 13-12-23

@benoitf
Copy link
Contributor Author

benoitf commented Jan 26, 2022

I've the same error using Microsoft Edge

I got 'proceed' on the first page and I clicked on proceed then it redirected to dex and it failed with the same message

image

@benoitf
Copy link
Contributor Author

benoitf commented Jan 26, 2022

retried using latest minikube version (1.25.1)

$ minikube version
minikube version: v1.25.1
commit: 3e64b11ed75e56e4898ea85f96b2e4af0301f43d
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:17:57Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:34:54Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}

So I still have proceed option on dashboard but not on dex

tApiZmtfgR.mp4

@benoitf
Copy link
Contributor Author

benoitf commented Jan 26, 2022

@l0rd
Copy link
Contributor

l0rd commented Jan 26, 2022

@sparkoo @skabashnyuk do you have any clue?

@l0rd l0rd added severity/P1 Has a major impact to usage or development of the system. status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach and removed status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. labels Jan 26, 2022
@sparkoo
Copy link
Member

sparkoo commented Jan 28, 2022

I don't know why it is the case for dex. Maybe different kind of certificate? Different way how we use it in ingress?

@tolusha tolusha added sprint/current team/deploy and removed status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach labels Feb 2, 2022
@tolusha tolusha mentioned this issue Feb 2, 2022
18 tasks
@l0rd
Copy link
Contributor

l0rd commented Feb 2, 2022

I confirm that I can reproduce the problem on macOS with Chrome but not with Firefox.

@tolusha tolusha mentioned this issue Feb 21, 2022
4 tasks
@tolusha tolusha added this to the 7.45 milestone Feb 22, 2022
@Kasturi1820 Kasturi1820 modified the milestones: 7.45, 7.46 Mar 17, 2022
@nickboldt nickboldt modified the milestones: 7.46, 7.47 Apr 20, 2022
@l0rd l0rd removed this from the 7.47 milestone Apr 28, 2022
@l0rd
Copy link
Contributor

l0rd commented Apr 28, 2022

@tolusha I have removed the sprint/current label and removed the milestone. Feel free to add a milestone if you plan to work on it during this sprint.

@benoitf
Copy link
Contributor Author

benoitf commented Jun 27, 2022

the issue is still actual with minikube 1.26 / chectl next

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

7 participants