sudden Server Certificate verification failure

2019-09-12 10:09发布

问题:

It seems my search queries don't help me at all on google or here on stack overflow. So now I turn to you guys and I hope you can help me past this problem.

Here is the situation.

We have a Ubuntu Webserver that runs multiple websites. The server has git and it is installed and fully working. That is until this afternoon.

Suddenly whenever I did a pull request from the server I got the following error

fatal: unable to access 'https://git.example.com/websites/EUclaimde.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

When going to our git server it only says it is a self signed certificate and i can continue just fine to the page.

The strange (or maybe it's not strange at all) thing is that the other website work just fine. It is only one site that gives this error.

Note: I did not change any settings nor did others working on the project nor did we change any other system files.

When I go to the folder that is indicated in the error message the certificate is there. Probably also the reason why ther pages still work.

If you nee any other info please let me know and I will update the question.

THank you for your time.

Cheers