Coderaemon
Coderaemon

Reputation: 3877

Not Able to Git Push?

Made a new repository on Bitbucket . Now I am trying to push a project folder to this repository. I can do git add & git commit but when I do git push -u origin master following error comes

fatal: unable to access 'https://****@bitbucket.org/*****/***-2point0.git/': error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm

I re-installed git still same error. I found many other answers for this problem but still nothing is working.

Upvotes: 1

Views: 322

Answers (2)

VonC
VonC

Reputation: 1329562

As mentioned in "Can not use “git pull” beacause of some error", that could be linked to an old version of openssl.

Try to upgrade your openssl version first (even from sources).

Upvotes: 0

mziccard
mziccard

Reputation: 2178

Possibly a dupicate of this.

It is probably a problem with the version of OpenSSL, at least this is what the error message is saying: the message digest algorithm used by Bitbucket is unknown to your host. Try to update OpenSSL to the latest version.

Otherwise, try setting the remote to use ssh rather than https:

git remote set-url --push origin [email protected]:*****/***-2point0.git

Upvotes: 2

Related Questions