GIT certificate failure

Using applications, configuring, problems
Post Reply
Message
Author
mfilmore
Posts: 9
Joined: Wed 10 Oct 2012, 23:58

GIT certificate failure

#1 Post by mfilmore »

git pull -v
fatal: unable to access 'https://github.com/Cuis-Smalltalk/Cuis- ... k-Dev.git/': SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Git pull fails under Precise 5.6.1 and 5.7.1.

Git pull works fine under slacko.

I built the latest GIT from sources but the error is the same as the server version.

Please fix this! I use precise 5.7.1 as my daily system and am tired of rebooting. It does not take long but is a development speed bump.

-Mike

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#2 Post by nilsonmorales »

A friend makes me a scritp to configure easily and avoid the ssl certificate
basically is this command
git config --global http.sslVerify false
take a look
http://www.murga-linux.com/puppy/viewto ... 623#746623
i made this git pet http://ubuntuone.com/7kqwljWMJN8Pg808cdIc0V
hope this help you.
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

mfilmore
Posts: 9
Joined: Wed 10 Oct 2012, 23:58

GIT certifiacte failure

#3 Post by mfilmore »

>>> git config --global http.sslVerify false
>>> git pull
/usr/libexec/git-core/git-pull: line 316: exec: git-merge: not found
fatal: 'pull' appears to be a git command, but we were not
able to execute it. Maybe git-pull is broken?
>>> git --version
git version 1.8.5.2.309.ga25014b

mfilmore
Posts: 9
Joined: Wed 10 Oct 2012, 23:58

GIT certification failure

#4 Post by mfilmore »

>>> git pull
git: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

That you probably have it :wink: run ldconfig.

mfilmore
Posts: 9
Joined: Wed 10 Oct 2012, 23:58

#6 Post by mfilmore »

## reinstalled pet
>>> dconfig
>>> git pull
fatal: unable to access 'https://github.com/Cuis-Smalltalk/Cuis- ... k-Dev.git/': SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
>>> git config --global http.sslVerify false
>>> git pull
/root/libexec/git-core/git-pull: line 316: exec: git-merge: not found
fatal: 'pull' appears to be a git command, but we were not
able to execute it. Maybe git-pull is broken?
>>> ldconfig
>>> git pull
/root/libexec/git-core/git-pull: line 316: exec: git-merge: not found
fatal: 'pull' appears to be a git command, but we were not
able to execute it. Maybe git-pull is broken?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

Read the exchange between Karl Godt and Mavrothal, it should point you in the right direction.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#8 Post by Karl Godt »

Code: Select all

mkdir git.git.d
cd !$ || exit
git init
git remote add git git://git.kernel.org/pub/scm/git/git.git
git pull git
for b in `git branch -a`; do
br=`echo $b | cut -f3- -d'/'`
git branch $br || break
git checkout $br || break
sleep 1
done
for t in `git tag -l`; do
git checkout $t || break
sleep 1
done
git checkout v1.8.5.3
cd ..
cp -a git.git.d compile_git.git.d
cd !$
git branch
DESTDIR=/usr/SVC make
DESTDIR=/usr/SVC make install
ls /usr/SVC/libexec/git-core
PATH=/usr/SVC/bin:$PATH
git --version
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#9 Post by snayak »

Dear All,

I did

Code: Select all

git clone https://github.com/snayaksnayak/obc.git
from precise 5.7.1.
And I witness this problem.
My google searches let me know successful solutions of disabling the certificate verification.
Example solutions:

Code: Select all

1. git -c http.sslVerify=false clone https://yourpath
2. env GIT_SSL_NO_VERIFY=true git clone https://github
3. git config --global http.sslVerify false
4. export GIT_SSL_NO_VERIFY=true
But is there any successful solution providing git the certificate it asks for?

BTW: I clone the same from my Fatdog 611 but have seen no such problem! Why so?

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#10 Post by Sailor Enceladus »

@snayak: I think you might need a puppy that is built with CA_Certificates included, or at least you might have trouble downloading some files without it being there. It might be called something like this:
/root/.packages/woof-installed-packages wrote:ca-certificates-20161130|ca-certificates|20161130|1_slack14.0|Filesystem;filemanager|430K|patches/packages|ca-certificates-20161130-noarch-1_slack14.0.txz||PEM Files of CA Certificates|slackware|14.0||

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#11 Post by snayak »

Dear Sailor,

Thanks for your time.
I installed ca-certificates-20160104 from precise 5.7.1 PPM.
But had no luck. :-( For github, any extra certificate needs to be downloaded? Where may I get it?
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#12 Post by 666philb »

hi snayak,

in a terminal try running

Code: Select all

update-ca-certificates
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#13 Post by snayak »

Dear 666philb,

Thanks for your time. i will try it.

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#14 Post by 666philb »

not sure, but in precise you might need to install the devx to run the command
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

Post Reply