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

Fatal: unable to access: SSL certificate problem: unable to get local issuer certificate #8063

Closed
Gooberpatrol66 opened this issue Sep 3, 2019 · 4 comments

Comments

@Gooberpatrol66
Copy link

commented Sep 3, 2019

  • Gitea version (or commit ref): 1.8.3
  • Git version: 2.21.0
  • Operating system: Gentoo
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I created a new repo in gitea. I then followed the instructions in “Pushing an existing repository from the command line”.

git remote add origin https://localhost/gitea/user/project.git
git push -u origin master
fatal: unable to access 'https://localhost/gitea/user/project.git/': SSL certificate problem: unable to get local issuer certificate

SSL works without issue when I visit the web interface.

@lafriks

This comment has been minimized.

Copy link
Member

commented Sep 3, 2019

You have to put issuer certificate in CA trust store:
https://wiki.gentoo.org/wiki/Local_certificates

@lafriks lafriks closed this Sep 3, 2019

@Gooberpatrol66

This comment has been minimized.

Copy link
Author

commented Sep 4, 2019

That doesn't work. Am I supposed to do this, even if I'm using letsencrypt certificates?

@lafriks

This comment has been minimized.

Copy link
Member

commented Sep 4, 2019

You should not be using localhost but full domain name if you have letsencrypt

@Gooberpatrol66

This comment has been minimized.

Copy link
Author

commented Sep 5, 2019

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.