In Visual Studio I'm trying to pull some changes from the repository on gitlab, but it gives me an error: Git failed with a fatal error. unable to access 'https://gitlab...git/': SSL certificate problem: certificate has expired
How can I generate the new certificate and add it to VS? I don't have any experience with gitlab.
Visual Studio should be using Git for Windows.
If you can export the certificate chain of your private GitLab server, you can add it to the ca-bundle.crt
file in your git folder, in C:\path\to\Git\\usr\ssl\certs
.
In cmd I generated key with command
ssh-keygen -t rsa -C "email@email.com"
. Then I copied content of fileC:\Users\dmitr\.ssh\id_rsa.pub
into gitlab's user settings, added title of the key and pressed add button. Should I do anything else? Now it still don't work@DimaKozyr ssh-keygen has nothing to do with ssl certificates (community.letsencrypt.org/t/…). You need to export the certificate chain from your browser (help.duo.com/s/article/2222?language=en_US)