Jailkit Problem with the SSL CA cert

Today one of my client got problem with their git,

[email protected]:/etc$ cd /web/
[email protected]:/web$ git pull origin master -v
fatal: unable to access 'https://[email protected]/example/sample.git/': Problem with the SSL CA cert (path? access rights?)

The solution is rather simple, using root account create folder ssl certs in chroot directory and copy the ca-certificates.crt into it :

[email protected]:/$ mkdir /var/www/example.com/etc/ssl/certs/ -p
[email protected]:/$ cp /etc/ssl/certs/ca-certificates.crt /var/www/example.com/etc/ssl/certs/ 

Another super-easy but bad solution! is to disable SSL verification but i dont recommend this:
[email protected]:/$ git config --global http.sslVerify false