0

I created Android Project when i trying to push the project from CMD prompt it show this message

fatal: unable to access 'https://github.com/<userName>/<project_name>/': SSL certificate problem: self signed certificate in certificate chain 

how can i resolve this error and not able to upload project

5
  • 1
    Are you behind a proxy? Commented May 31, 2018 at 7:23
  • @evolutionxbox No Commented May 31, 2018 at 7:35
  • @evolutionxbox I remove the origin and again add into then its work fine Commented May 31, 2018 at 7:36
  • 2
    So you’ve resolved your issue? May you post an answer, or delete the question? Commented May 31, 2018 at 7:37
  • Possible duplicate of Invalid SSL certificate when pushing to Git server Commented May 31, 2018 at 8:26

1 Answer 1

2

I resolve the issue using this Commands in Git:

1) Remove the origin

git remote rm origin 

2) Add again the remote origin

git remote add origin https://github.com/<userName>/<project_name>.git 

3) Final push your project using Following Command:-

git push -u origin master 

Then git ask your username and password fill it and your project upload successfully on Github.

Hope its helpful

Sign up to request clarification or add additional context in comments.

1 Comment

Good job for solving the issue yourself!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.