Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: KHarvey on January 17, 2013, 10:32:47 AM
-
I just had a TC crash yesterday and I lost all of my code I was developing on there. While it will only take a me a week or so to rebuild it all, I wanted to start saving my Git repositories off to a more redundant location to avoid this issue in the future.
I signed up with GitHub and I added a remote repo inside of git:
git remote add FTP https://github.com/username/FTP.git
When I do a push:
git push FTP master
I receive an error:
error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/username/FTP.git/info/refs?service=git-receive-pack
fatal: HTTP request failed
After googling for the last hour the only thing I can find is that I need to install the curl certificate pack to resolve the issue. http://snippets.webaware.com.au/howto/stop-turning-off-curlopt_ssl_verifypeer-and-fix-your-php-config/
But I am unsure how to go about this in TC and even if it would work.
I am running an older version of TC (3.0.21).
I would like to avoid installing OpenSSH on this computer if possible, but if I need to, then I can.
Any suggestions?
-
try with
git remote add FTP git://github.com/username/FTP.git
i has similar error
when trying to pull with https
using "git://" not "https://" worked in my case
-
Googling "error:14090086:SSL" brings up countless results, seems to be a common occurance.
You could try dropbear before OpenSSH.
-
Thanks dubcore
That works as long as I have have SSH setup. Which it is setup on my laptop, and works great.
I used the workaround of git config --global http.sslVerify false on my computer to get it working for now.
I will continue to do research and see if I can find a solution to fix the HTTPS problem. I think I just need to install the certificate and it will work, but I am unsure how to do that.
-
I am using dropbear. Did you ever find a solution to this? I also have issues with curl.
-
Typing quick because I have to leave for work in about 30 seconds, so sorry if this is slightly confusing or doesn't quite answer the question:
Git + dropbear ssh + github: Set up a little bash script that looks like this:
$ cat ~/.local/bin/ssh-keys.sh
#!/bin/sh
ssh ssh -i ~/.ssh/git.id_rsa -i ~/.ssh/jls.id_rsa $@
And set up an env var:
$ export GIT_SSH=ssh-keys.sh
Then you should be able to push and pull using git:// urls.
For git + https:// :
install ca-certificates
Add a section to your ~/.gitconfig that looks like this:
[http]
sslcapath = /usr/local/etc/ssl/certs