Oct 11, 2016
~$ git-ftp pull<br />
~$ cd: Fatal error: Certificate verification: certificate common name doesn’t match requested host name ‘ftp.mazohyst.org’<br />
~$ mirror: Fatal error: Certificate verification: certificate common name doesn’t match requested host name ‘ftp.mazohyst.org’
~/.lftp/rc so that it contains
set ssl:check-hostname no. What this does is pretty self explanatory. If the hostname in the certificate does not match the hostname you’re attempting to connect to, it doesn’t matter because it won’t check for that in the first place.
I recently wanted to implement version control for my websites because all too often I think to myself, “I wish I knew what a previous version of this file looked lik”. So since I’m on shared hosting and don’t have my own server, I resorted to using git-ftp for deploying my websites. So far, it’s working great. However, I momentarily forgot I started using this and made some changes on one of my pages through cPanel. I tried pulling the latest pages using
git-ftp pull and encountered this error.