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

Arm7 Git #1219

Closed
james10174 opened this issue May 10, 2016 · 4 comments
Closed

Arm7 Git #1219

james10174 opened this issue May 10, 2016 · 4 comments

Comments

@james10174
Copy link

james10174 commented May 10, 2016

I am having trouble with the following error when I hit repo button. From the web I think it is from the cacerts file. I tried to fix this on both the host and machine/container. I ran update-ca-certificates on host and ca-certificates-cacert on arch linux container then saved image. I restarted che too after. I don't know if this is related but I cannot push changes to server. I get unauthorized message. I can do this manually from linux console though. I use the servers IP address instead of localhost because I was getting not found with localhost. https://eclipse-che.readme.io/docs/git

Which cacerts does che use? Host or machince/container? Does it use this location /etc/ssl/certs/java/cacerts?

image

java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

image
image

@ghost
Copy link

ghost commented May 10, 2016

Have you gone through the procedure of trusting application after a redirect to GitHub? Also, what is Git version in the container?

@james10174
Copy link
Author

@eivantsov I don't think I have gone through trusting application after redirect. When and how does this happen.
git version 2.8.2

@ghost
Copy link

ghost commented May 10, 2016

What if you go to Profile > Preferences > SSH and click GitHub icon? It should redirect you to GitHub where you authorize the app.

@james10174
Copy link
Author

@eivantsov So I finally figured it out. My fault. In your example document you might want to add host needs to be github.com or other url name when you add generate key under ssh->git . Also mention what you just stated to me which is to click the github icon there too. Works now for me. Thanks.

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

No branches or pull requests

1 participant