-
Notifications
You must be signed in to change notification settings - Fork 20
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 find valid certification path to requested target" when trying to edit a resource #600
Comments
Hi @tschut |
Hi @adietish, didn't get around to testing it until now (was at springio 🥳) It looks a lot better with this latest snapshot! I can login to the cluster, and when I open a resource.yaml in the editor I tested the "diff" and "pull" functions and both work correctly. What doesn't work yet is the browser in the OpenShift toolbox window. It shows the cluster, but the only item in the dropdown is "Unable to get namespaces: An error has occurred.", which is correct, because my account doesn't have the appropriate rights for |
@tschut hope you had lots of fun in Barcelona 🥳 |
Thanks @adietish! Which functionality belongs to which plugin is in this case quite confusing I think, glad you have a better understanding of that. I'll try to help out with the other issue. |
for my own documentation purposes: Steps:
crc start
oc login -u kubeadmin -p <password> https://api.crc.testing:6443
oc config view --flatten > kubeconfig-newapi
oc create secret tls selfsigned \
--cert=domain.crt \
--key=domain.key \
-n openshift-config
oc patch apiserver cluster \
--type=merge -p \
'{"spec":{"servingCerts": {"namedCertificates":
[{"names": ["api.crc.testing"],
"servingCertificate": {"name": "selfsigned"}}]}}}' |
) Signed-off-by: Andre Dietisheim <[email protected]>
) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
Hi @tschut, |
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
…eveloper#600) Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Nice work! I tried to validate the fix but since I already imported the certificates in my jdk I'd have to remove those first and I'm a bit busy atm :( |
Hi @tschut, no problems, thanks for all the collab :) |
This was reported in #521 (comment)
Steps:
Result:
Editor is opened but errors with the following details
Adding the certificate under Settings -> Tools -> Server Certificates and also enabling "Accept non-trusted certificates automatically" doesn't help.
To reproduce this you can use our cluster bot:
Steps:
--insecure-skip-tls-verify=true
to the commandinsecure-skip-tls-verify: true
Projects
node)Result:
The cluster is listed but not detected as OpenShift. Furthermore you cannot list any resources (expand nodes in the tree). They all error ("Error: Could not get ...")
In the IDEA log you discover the error:
The text was updated successfully, but these errors were encountered: