Home > database >  Still have a problem even after activating TLS1.2 on windows7
Still have a problem even after activating TLS1.2 on windows7

Time:12-21

I'm trying to upload a project on Github using the remote command And I got this:

fatal: Une erreur s'est produite lors de l'envoi de la demande. fatal: La demande a été abandonnée : Impossible de créer un canal sécurisé SSL/TLS. Username for 'https://github.com': meriam-hamdaoui Password for 'https://[email protected]': remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/meriam-hamdaoui/testing-again.git/'

I looked on Google so I update my system I activeted TLS1.2 then I excuted those two lines:

 $unset SSH_ASKPASS

$ git push -u origin main

I got "Authentication Succeeded" on a web page but still got this :

fatal: Une erreur s'est produite lors de l'envoi de la demande. fatal: La demande a été abandonnée : Impossible de créer un canal sécurisé SSL/TLS. Username for 'https://github.com': meriam-hamdaoui Password for 'https://[email protected]': remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/meriam-hamdaoui/testing-again.git/'

Can anyone explain to me how to fix this please??

CodePudding user response:

That should linked to your usage of your GitHub account password, and not to TLS.

Try the same push using a PAT (a Personal Access Token) in place of your password. It should work then.

If Git never prompted for your credentials, check your git configi credential helper, and remove the old credentials from your credentials cache.

  • Related