Clone a project into Debian server by console

Hi.
i’m trying to clone a project into my Debian server. i am doing it whith the next comand

git clone https://gitlab.com/alejok-024/wordpress.git

But the answer from my server is

Cloning into 'wordpress'... fatal: unable to access 'https://gitlab.com/alejok-024/wordpress.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

i did the same whit github and cloned correctly. i really don’t know what is wrong whit the SSL certificate.

Thanks for you help

I did the same on my machine and worked fine. Can you try again and confirm?

i did it, but it doesn’t works, if you say that it’ worked on your server maybe the problem is mine. maybe is the server =(

root@POO:~# git clone https://gitlab.com/alejok-024/wordpress.git
Cloning into ‘wordpress’…
fatal: unable to access ‘https://gitlab.com/alejok-024/wordpress.git/’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
root@POO:~#
root@POO:~#
root@POO:~# ping gitlab.com
PING gitlab.com (104.210.2.228) 56(84) bytes of data.